LazySeq is wrapping my InterruptedExceptions in several layers of 
RuntimeException, which is a 
bit awkward, because then my top level code spews pages of exceptions, rather 
than just reporting 
that the process was cancelled.

Is there anything better that could be done?

 + Change the interface to just throw Exception?

 + Have a special subclass of RuntimeException, eg RuntimeWrapperException, so 
that they can be 
more easily identified and peeled off by the catcher?

Hmm - maybe java.lang.reflect.UndeclaredThrowableException would do?

-- 
Dave

-- 
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

Reply via email to