LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
53 stars 24 forks source link

[FRG-122] FarragoJdbcClientDriver should use FarragoJdbcUtil.newSqlException() to wrap non-SQLExceptions #748

Open dynamobi-build opened 12 years ago

dynamobi-build commented 12 years ago

[reporter="hersker", created="Tue, 2 May 2006 17:13:40 -0500 (GMT-05:00)"] Exception handling cleanup to parallel that done in DT codebase.

Currently, FarragoJdbcClientDriver throws new SQLException(e.getMessage()) where it should more safely use FarragoJdbcUtil.newSqlException(ex, tracer). However, the Farrago client driver does not have a tracer.

Two obvious choices:

dynamobi-build commented 12 years ago

[author="hersker", created="Tue, 2 May 2006 18:12:53 -0500 (GMT-05:00)"] Searching for "new SQLException" in Farrago reveals many other classes that need the same fix.