David Powell
unread,Nov 19, 2009, 7:42:54 AM11/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clo...@googlegroups.com
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