Package org.hibernate
Class PessimisticLockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.PessimisticLockException
-
- All Implemented Interfaces:
java.io.Serializable
public class PessimisticLockException extends JDBCException
Thrown when a pessimistic locking conflict occurs.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PessimisticLockException(java.lang.String message, java.sql.SQLException sqlException, java.lang.String sql)
Constructs a PessimisticLockException using the specified information.
-
Method Summary
-
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
Constructor Detail
-
PessimisticLockException
public PessimisticLockException(java.lang.String message, java.sql.SQLException sqlException, java.lang.String sql)
Constructs a PessimisticLockException using the specified information.- Parameters:
message
- A message explaining the exception conditionsqlException
- The underlying SQL exceptionsql
- The sql that led to the exception (may be null, though usually should not be)
-
-