Subject SQLException
Author Ken Richard
I would like to enhance the exception handling code in the driver.
Currently, SQLExceptions are usually created with code like:

catch (GDSException ge)
{"GDSException in PreparedStatement constructor",
throw new SQLException("GDSException: " + ge);
} // end of try-catch

How about creating a FBSQLException that extends SQLException. The
exception would support the getErrorCode to get the native error number
and support getNextException to return the original GDSException.

Question: what should be returned from getSQLState?