public class AbortOnlyException extends IllegalTxnStateException
IllegalTxnStateException
thrown when a Txn
is configured
as abort only and a prepare/commit is executed.Txn.setAbortOnly()
,
Txn.isAbortOnly()
,
Serialized FormConstructor and Description |
---|
AbortOnlyException(String message)
Creates a new AbortOnlyException with the provided message.
|
AbortOnlyException(String message,
Throwable cause)
Creates a new AbortOnlyException with the provided message and cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AbortOnlyException(String message)
message
- the message.Copyright © 2020. All rights reserved.