public class PessimisticLockException extends PersistenceException
| Constructor and Description |
|---|
PessimisticLockException()
Constructs a new
PessimisticLockException exception
with null as its detail message. |
PessimisticLockException(java.lang.Object entity)
Constructs a new
PessimisticLockException exception
with the specified entity. |
PessimisticLockException(java.lang.String message)
Constructs a new
PessimisticLockException exception
with the specified detail message. |
PessimisticLockException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new
PessimisticLockException exception
with the specified detail message and cause. |
PessimisticLockException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Object entity)
Constructs a new
PessimisticLockException exception
with the specified detail message, cause, and entity. |
PessimisticLockException(java.lang.Throwable cause)
Constructs a new
PessimisticLockException exception
with the specified cause. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getEntity()
Returns the entity that caused this exception.
|
public PessimisticLockException()
PessimisticLockException exception
with null as its detail message.public PessimisticLockException(java.lang.String message)
PessimisticLockException exception
with the specified detail message.message - the detail message.public PessimisticLockException(java.lang.String message,
java.lang.Throwable cause)
PessimisticLockException exception
with the specified detail message and cause.message - the detail message.cause - the cause.public PessimisticLockException(java.lang.Throwable cause)
PessimisticLockException exception
with the specified cause.cause - the cause.public PessimisticLockException(java.lang.Object entity)
PessimisticLockException exception
with the specified entity.entity - the entity.public PessimisticLockException(java.lang.String message,
java.lang.Throwable cause,
java.lang.Object entity)
PessimisticLockException exception
with the specified detail message, cause, and entity.message - the detail message.cause - the cause.entity - the entity.