# Refined subclasses of SQLException

If your application runs on JDK 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

Parent topic: JDBC 4.0-only features
Related reference
java.sql.Connection interface: JDBC 4.0 features
java.sql.DatabaseMetaData interface: JDBC 4.0 features
java.sql.Statement interface: JDBC 4.0 features
javax.sql.DataSource interface: JDBC 4.0 features
java.sql.SQLXML interface