public class LockException extends StoreException
LOCK, OBJECT_EXISTS, OBJECT_NOT_FOUND, OPTIMISTIC, QUERY, REFERENTIAL_INTEGRITYGENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED| Constructor and Description |
|---|
LockException(Object failed) |
LockException(Object failed,
int timeout) |
LockException(Object failed,
int timeout,
int lockLevel) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLockLevel() |
int |
getSubtype()
Exception subtype.
|
int |
getTimeout()
The number of milliseconds to wait for a lock.
|
void |
setLockLevel(int lockLevel) |
LockException |
setTimeout(int timeout)
The number of milliseconds to wait for a lock.
|
String |
toString() |
getTypegetCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowablesaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessagepublic LockException(Object failed)
public LockException(Object failed, int timeout)
public LockException(Object failed, int timeout, int lockLevel)
public int getSubtype()
OpenJPAExceptiongetSubtype in interface ExceptionInfogetSubtype in class OpenJPAExceptionpublic int getTimeout()
public LockException setTimeout(int timeout)
public void setLockLevel(int lockLevel)
public int getLockLevel()
public String toString()
toString in class OpenJPAExceptionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.