Re: Newbie question: Why does clojure prefer java.lang.Exception?

2010-03-15 Thread CloudiDust
user code does the > resolution on a : > user=> (resolve (symbol "foo")) > nil > > There are only a handful of functions that are documented to throw an > exception, and none of them are checked exceptions. > > On Mar 13, 9:40 am, CloudiDust wrote: > > >

Newbie question: Why does clojure prefer java.lang.Exception?

2010-03-13 Thread CloudiDust
Greetings everyone! I am currently beginning to learn clojure, and here's one thing that I don't quite understand, that many exceptions thrown by clojure are the most generic java.lang.Exception's (e.g. when a symbol cannot be resolved). Why aren't more specific exception classes used, like clojur