org.hibernate
Class PessimisticLockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hibernate.HibernateException
                  extended by org.hibernate.JDBCException
                      extended by org.hibernate.PessimisticLockException
All Implemented Interfaces:
Serializable

public class PessimisticLockException
extends JDBCException

Thrown when a pessimistic locking conflict occurs.

Author:
Scott Marlow
See Also:
Serialized Form

Constructor Summary
PessimisticLockException(String s, JDBCException je, Object entity)
           
PessimisticLockException(String s, SQLException se, Object entity)
           
PessimisticLockException(String s, SQLException se, String sql)
           
 
Method Summary
 Object getEntity()
           
 
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PessimisticLockException

public PessimisticLockException(String s,
                                JDBCException je,
                                Object entity)

PessimisticLockException

public PessimisticLockException(String s,
                                SQLException se,
                                Object entity)

PessimisticLockException

public PessimisticLockException(String s,
                                SQLException se,
                                String sql)
Method Detail

getEntity

public Object getEntity()


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.