On Apr 26, 2013, at 11:55 , Michael Gardner <gardne...@gmail.com> wrote:

> I believe Clojure is wrapping the java.sql.SQLException in a 
> java.lang.RuntimeException because of reasons[1][2], so you'd need to catch 
> java.lang.RuntimeException and examine the exception's cause property to get 
> the "real" exception.
> 
> [1] http://dev.clojure.org/jira/browse/CLJ-855
> [2] https://groups.google.com/d/msg/clojure/I5l1YHVMgkI/nt8t9aHNVEYJ

…though I just noticed that JIRA issue was closed in 1.3, so unless you're 
still on 1.3 it doesn't actually explain why you're getting wrapped exceptions.

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to