> > > > > > That's my impression too. Unfortunately it's inconsistent with Java > > convention. Java generally uses (extensions of) RuntimeException for > > such cases. Other extensions of Exception are reserved for cases you > > *are* expected to handle. > > How do you expect to handle an exception thrown by the compiler? Just > take a look at this: > > Again the only exceptions that can be handled by user code are in fact > RuntimeExceptions. >
Huh? In Java-land, you're most definitely expected to be able to handle Exceptions that are not RuntimeExceptions (e.g. IOException and MalformedURLExceptions). Did you mean to say that user code is not expected to handle Errors? Or that Clojure wraps all the Exceptions *it can* with RuntimeException? Just for reference here's the Java Exception hierarchy ... http://www.javamex.com/tutorials/exceptions/exceptions_hierarchy.shtml -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Brian Schlining [email protected] -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
