javax.persistence
Class LockTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.persistence.PersistenceException
                  extended by javax.persistence.LockTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class LockTimeoutException
extends PersistenceException

Thrown by the persistence provider when a pessimistic locking conflict occurs, without forcing a rollback.

See Also:
Serialized Form

Constructor Summary
LockTimeoutException()
           
LockTimeoutException(java.lang.Object entity)
           
LockTimeoutException(java.lang.String message)
           
LockTimeoutException(java.lang.String message, java.lang.Throwable cause)
           
LockTimeoutException(java.lang.String message, java.lang.Throwable cause, java.lang.Object entity)
           
LockTimeoutException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Object getObject()
           
 
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

LockTimeoutException

public LockTimeoutException()

LockTimeoutException

public LockTimeoutException(java.lang.Object entity)

LockTimeoutException

public LockTimeoutException(java.lang.String message)

LockTimeoutException

public LockTimeoutException(java.lang.String message,
                            java.lang.Throwable cause)

LockTimeoutException

public LockTimeoutException(java.lang.String message,
                            java.lang.Throwable cause,
                            java.lang.Object entity)

LockTimeoutException

public LockTimeoutException(java.lang.Throwable cause)
Method Detail

getObject

public java.lang.Object getObject()