Package org.midao.jdbc.spring.exception

Class Summary
SpringExceptionHandler Exception handler implementation inspired by Spring JDBC implementation
SpringExceptionHandlerConstants Spring Exception handler constants.
 

Exception Summary
BadSqlGrammarException Exception is thrown when SQL specified is invalid.
CannotAcquireLockException Exception is thrown on failure to acquire a lock during an update, for example during a "select for update" statement.
CannotSerializeTransactionException Exception is thrown on failure to complete a transaction in serialized mode due to update conflicts.
ConcurrencyFailureException Exception is thrown on concurrency failure.
DataAccessResourceFailureException Exception is thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.
DataIntegrityViolationException Exception is thrown when an attempt to insert or update data results in violation of an integrity constraint.
DeadlockLoserDataAccessException Exception is thrown when the current process was a deadlock loser, and its transaction rolled back.
DuplicateKeyException Exception is thrown when an attempt to insert or update data results in violation of an primary key or unique constraint.
InvalidDataAccessApiUsageException Exception is thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.
InvalidResultSetAccessException Exception is thrown when a ResultSet has been accessed in an invalid fashion.
PermissionDeniedDataAccessException Exception is thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.
QueryTimeoutException Exception is thrown on a query timeout.
RecoverableDataAccessException Exception is thrown when a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.
TransientDataAccessResourceException Exception is thrown when a resource fails temporarily and the operation can be retried.
 



Copyright © 2013. All Rights Reserved.