If your application runs on JDK 1.6 or higher, exceptions raised by
Derby
will generally be one of the refined subclasses of SQLException,
introduced by JDBC 4.0. These refined exceptions are raised under the
conditions described by their respective javadoc.
- java.sql.SQLClientInfoException
- java.sql.SQLDataException
- java.sql.SQLFeatureNotSupportedException
- java.sql.SQLIntegrityConstraintViolationException
- java.sql.SQLInvalidAuthorizationSpecException
- java.sql.SQLSyntaxErrorException
- java.sql.SQLTransactionRollbackException
- java.sql.SQLTransientConnectionException