This package is a fork of Apache commons-lang nestable exceptions.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | Configurable
The Configurable interface defines the contract for SQLExceptionConverter impls that want to be configured prior to usage given the currently defined Hibernate properties. |
| public interface | SQLExceptionConverter
Defines a contract for implementations that know how to convert a SQLException into Hibernate's JDBCException hierarchy. |
| public interface | ViolatedConstraintNameExtracter
Defines a contract for implementations that can extract the name of a violated constraint from a SQLException that is the result of that constraint violation. |
| Modifier and Type | Class and Description |
|---|---|
| public class | CacheSQLStateConverter
A SQLExceptionConverter implementation specific to Caché SQL, accounting for its custom integrity constraint violation error codes. |
| public class | ConstraintViolationException
Implementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint. |
| public class | DataException
Implementation of JDBCException indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality. |
| public class | GenericJDBCException
Generic, non-specific JDBCException. |
| public class | JDBCConnectionException
Implementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup). |
| public class | JDBCExceptionHelper
Implementation of JDBCExceptionHelper. |
| public class | LockAcquisitionException
Implementation of JDBCException indicating a problem acquiring lock on the database. |
| public class | SQLExceptionConverterFactory
A factory for building SQLExceptionConverter instances. |
| public class | SQLGrammarException
Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc). |
| public class | SQLStateConverter
A SQLExceptionConverter implementation which performs converion based on the underlying SQLState. |
| public abstract class | TemplatedViolatedConstraintNameExtracter
Knows how to extract a violated constraint name from an error message based on the fact that the constraint name is templated within the message. |