| Home >> All >> org >> hibernate >> [ exception Javadoc ] |
org.hibernate.exception: Javadoc index of package org.hibernate.exception.
Package Samples:
org.hibernate.exception
Classes:
NestableException: The base class of all exceptions which can contain other exceptions. It is intended to ease the debugging by carrying on the information about the exception which was caught and provoked throwing the current exception. Catching and rethrowing may occur multiple times, and provided that all exceptions except the first one are descendands of NestedException , when the exception is finally printed out using any of the printStackTrace() methods, the stacktrace will contain the information about all exceptions thrown and caught on the way. Running the following program 1 import org.apache.commons.lang.exception.NestableException; ...
SQLExceptionConverter: Defines a contract for implementations that know how to convert a SQLException into Hibernate's JDBCException hierarchy. Inspired by Spring's SQLExceptionTranslator. Implementations must have a constructor which takes a ViolatedConstraintNameExtracter parameter. Implementations may implement Configurable if they need to perform configuration steps prior to first use.
SQLStateConverter: A SQLExceptionConverter implementation which performs converion based on the underlying SQLState. Interpretation of a SQL error based on SQLState is not nearly as accurate as using the ErrorCode (which is, however, vendor- specific). Use of a ErrorCode-based converter should be preferred approach for converting/interpreting SQLExceptions.
ErrorCodeConverter: A SQLExceptionConverter implementation which performs converion based on the vendor specific ErrorCode. This is just intended really as just a base class for converters which know the interpretation of vendor-specific codes.
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.
Nestable: An interface to be implemented by java.lang.Throwable extensions which would like to be able to nest root exceptions inside themselves.
NestableDelegate: A shared implementation of the nestable exception functionality. The code is shared between NestableError, NestableException and NestableRuntimeException.
Configurable: The Configurable interface defines the contract for SQLExceptionConverter impls that want to be configured prior to usage given the currently defined Hibernate properties.
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.
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.
SQLGrammarException: Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).
ConstraintViolationException: Implementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint.
JDBCConnectionException: Implementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).
ExceptionUtils: Provides utilities for manipulating and examining Throwable objects.
LockAcquisitionException: Implementation of JDBCException indicating a problem acquiring lock on the database.
NestableRuntimeException: The base class of all runtime exceptions which can contain other exceptions.
SQLExceptionConverterFactory: A factory for building SQLExceptionConverter instances.
JDBCExceptionHelper: Implementation of JDBCExceptionHelper.
GenericJDBCException: Generic, non-specific JDBCException.
| Home | Contact Us | Privacy Policy | Terms of Service |