| Exception | Description |
|---|---|
| CannotAcquireLockException |
Exception thrown on failure to aquire a lock during an update,
for example during a "select for update" statement.
|
| CannotSerializeTransactionException |
Exception thrown on failure to complete a transaction in serialized mode
due to update conflicts.
|
| ConcurrencyFailureException |
Exception thrown on concurrency failure.
|
| DataAccessException |
Root of the hierarchy of data access exceptions discussed in.
|
| DataAccessResourceFailureException |
Data access exception thrown when a resource fails completely:
for example, if we can't connect to a database using JDBC.
|
| DataIntegrityViolationException |
Exception thrown when an attempt to insert or update data
results in violation of an integrity constraint.
|
| DeadlockLoserDataAccessException |
Generic exception thrown when the current process was
a deadlock loser, and its transaction rolled back.
|
| InvalidDataAccessResourceUsageException |
Root for exceptions thrown when we use a data access resource incorrectly.
|
| NonTransientDataAccessException |
Root of the hierarchy of data access exceptions that are considered non-transient -
where a retry of the same operation would fail unless the cause of the Exception
is corrected.
|
| NonTransientDataAccessResourceException |
Data access exception thrown when a resource fails completely and the failure is permanent.
|
| PermissionDeniedDataAccessException |
Exception thrown when the underlying resource denied a permission
to access a specific element, such as a specific database table.
|
| PessimisticLockingFailureException |
Exception thrown on a pessimistic locking violation.
|
| QueryTimeoutException |
Exception to be thrown on a query timeout.
|
| TransientDataAccessException |
Root of the hierarchy of data access exceptions that are considered transient -
where a previously failed operation might be able to succeed when the operation
is retried without any intervention by application-level functionality.
|
| TransientDataAccessResourceException |
Data access exception thrown when a resource fails temporarily
and the operation can be retried.
|
| UncategorizedDataAccessException |
Normal superclass when we can't distinguish anything more specific
than "something went wrong with the underlying resource": for example,
a SQLException from JDBC we can't pinpoint more precisely.
|
Copyright © 2017. All rights reserved.