Interface JdbcException
- All Known Implementing Classes:
JdbcSQLDataException, JdbcSQLException, JdbcSQLFeatureNotSupportedException, JdbcSQLIntegrityConstraintViolationException, JdbcSQLInvalidAuthorizationSpecException, JdbcSQLNonTransientConnectionException, JdbcSQLNonTransientException, JdbcSQLSyntaxErrorException, JdbcSQLTimeoutException, JdbcSQLTransactionRollbackException, JdbcSQLTransientException
public interface JdbcException
This interface contains additional methods for database exceptions.
-
Method Details
-
getErrorCode
int getErrorCode()Returns the H2-specific error code.- Returns:
- the H2-specific error code
-
getOriginalMessage
-
getSQL
String getSQL()Returns the SQL statement.SQL statements that contain '--hide--' are not listed.
- Returns:
- the SQL statement
-
setSQL
-
toString
-