It would be nice if someone updated the wiki with a new example. I don't understand how the gen-class stuff is supposed to work. Why doesn't the following work?
(gen-class :name MyException :extends [Exception]) (defn user-exception-test [] (try (throw (new MyException "msg: user exception was here!!")) (catch MyException e (prn "caught exception" e)) (finally (prn "finally clause invoked!!!")))) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---