Package org.hibernate

Class PessimisticLockException

All Implemented Interfaces:
Serializable

public class PessimisticLockException extends JDBCException
Thrown when a pessimistic locking conflict occurs.
See Also:
  • Constructor Details

    • PessimisticLockException

      public PessimisticLockException(String message, SQLException sqlException, String sql)
      Constructs a PessimisticLockException using the specified information.
      Parameters:
      message - A message explaining the exception condition
      sqlException - The underlying SQL exception
      sql - The sql that led to the exception (possibly null, but usually not)