Groups
Groups
Sign in
Groups
Groups
clojure-clr
Conversations
About
Send feedback
Help
rethrowing an exception
40 views
Skip to first unread message
Antti Karanta
unread,
Jun 16, 2015, 6:48:32 AM
6/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cloju...@googlegroups.com
Is it possible to rethrow an exception in ClojureCLR? I.e. analogous to C#'s
try {
...
} catch ( Exception e ) {
// do something with e
throw; // preserves original stack trace in e
}
dmiller2718
unread,
Jun 16, 2015, 8:57:10 AM
6/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cloju...@googlegroups.com, antti....@gmail.com
Not at present. I've added an issue to address that. Will be added to the 1.7 release.
In the meantime, an inner exception is your best bet.
-David
dmiller2718
unread,
Jul 3, 2015, 4:58:02 PM
7/3/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cloju...@googlegroups.com, dmill...@gmail.com, antti....@gmail.com
Fixed in latest release.
(throw) does a rethrow. Only valid in a (catch ... ).
Reply all
Reply to author
Forward
0 new messages