julianhyde/optiq — pull request #262 by gabrielreid (2014-04-25 14:50:40+00:00)
Title: Improve exception message in AvaticaConnection

Add information about the underlying exception message in AvaticaConnection when creating a SQLException. This allows external tools that do some kind of handling on SQLExceptions to show a more useful message.

This is currently at least a problem with sqlline, although I can imagine it would also come up on other SQL tooling that only displays the message from a SQLException to the user.