Patching swank might be appropriate but doesn't address several
incorrect assumptions made by c.c.sql:

1)  *err* and *out* promise to implement java.io.Writer in the
documentation not java.io.PrintWriter.  Calling .println on *out* or
*err* is not appropriate.

2) c.c.sql shouldn't assume that we want anything printed at all?!
Just throw the SQLException.

3) c.c.sql's use of throwf unnecessarily wraps the SQLException into
java.lang.Exception.  Doing so isn't useful, especially if you want
handle an SQLException earlier than an unknown exception.

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