public class LockTimeoutException extends PersistenceException
Constructor and Description |
---|
LockTimeoutException()
Constructs a new
LockTimeoutException exception
with null as its detail message. |
LockTimeoutException(Object entity)
Constructs a new
LockTimeoutException exception
with the specified object. |
LockTimeoutException(String message)
Constructs a new
LockTimeoutException exception
with the specified detail message. |
LockTimeoutException(String message,
Throwable cause)
Constructs a new
LockTimeoutException exception
with the specified detail message and cause. |
LockTimeoutException(String message,
Throwable cause,
Object entity)
Constructs a new
LockTimeoutException exception
with the specified detail message, cause, and entity. |
LockTimeoutException(Throwable cause)
Constructs a new
LockTimeoutException exception
with the specified cause. |
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Returns the object that caused this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LockTimeoutException()
LockTimeoutException
exception
with null
as its detail message.public LockTimeoutException(String message)
LockTimeoutException
exception
with the specified detail message.message
- the detail message.public LockTimeoutException(String message, Throwable cause)
LockTimeoutException
exception
with the specified detail message and cause.message
- the detail message.cause
- the cause.public LockTimeoutException(Throwable cause)
LockTimeoutException
exception
with the specified cause.cause
- the cause.public LockTimeoutException(Object entity)
LockTimeoutException
exception
with the specified object.entity
- the entity.public Object getObject()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.