I'm rather confused by the different behaviour I'm getting from these two similar-looking pieces of code. What's going on here?
;; works: (try (throw (InterruptedException.)) (catch InterruptedException _)) ;; exception is not caught: (try (eval '(throw (InterruptedException.))) (catch InterruptedException _)) Shouldn't these be equivalent? Oddly enough it works if I try to catch the Exception base class: (try (eval '(throw (InterruptedException.))) (catch Exception _)) What's going on here? -Phil --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---