public class LockNotAvailableException extends LockConflictException
TransactionConfig.setNoWait(boolean).
The Transaction handle is not invalidated as a result of
this exception.
Normally, applications should catch the base class LockConflictException rather than catching one of its subclasses. All lock
conflicts are typically handled in the same way, which is normally to abort
and retry the transaction. See LockConflictException for more
information.
| Constructor and Description |
|---|
LockNotAvailableException(Locker locker,
String message)
For internal use only.
|
| Modifier and Type | Method and Description |
|---|---|
OperationFailureException |
wrapSelf(String msg)
For internal use only.
|
getOwnerTxnIds, getTimeoutMillis, getWaiterTxnIds, setOwnerTxnIds, setTimeoutMillis, setWaiterTxnIdsisReplicaWriteaddErrorMessage, addRethrownStackTrace, getMessage, getVersionHeaderaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OperationFailureException wrapSelf(String msg)
wrapSelf in class OperationFailureExceptionCopyright © 2024. All rights reserved.