Package net.sourceforge.hivetranse.exception

This package defines the hierarchy of specific exceptions related to data access and also contains utility classes to allow mapping of SQLExceptions into these more specialized exceptions.

See:
          Description

Class Summary
SqlCodesMappingContribution  
SqlExceptionMapper  
 

Exception Summary
DataAccessAPIUsageException Exception class thrown when the programmer has misused the JDBC API in a given context.
DataAccessException Abstract base class for all data access-related exceptions.
DataAccessResourceException Exception class thrown when a DataStore resource is not available.
DataAccessSyntaxException Exception class thrown when an invalid SQL statement is sent.
DataIntegrityException Exception class thrown when a statement (insert, update or delete) could not be executed because it would have caused the violation of a datastore constraint (any kind of constraint such as null not allowed, string too long, referred row does not exist, duplicate key...)
DuplicateKeyException Exception class thrown when a statement (insert or update) could not be executed because it would have caused the violation of a unique constraint.
ReferentialIntegrityException Exception class thrown when a statement (insert, update or delete) could not be executed because it would have caused the violation of a referential constraint (related to a foreign key).
UnknownDataAccessException Exception class thrown when the DataStore reported an error that could not be categorized into any other subclass of DataAccessException.
 

Package net.sourceforge.hivetranse.exception Description

This package defines the hierarchy of specific exceptions related to data access and also contains utility classes to allow mapping of SQLExceptions into these more specialized exceptions. The root exception in this hierarchy is DataAccessException.