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 Form| Constructor and Description |
|---|
AbortOnlyException(java.lang.String message)
Creates a new AbortOnlyException with the provided message.
|
AbortOnlyException(java.lang.String message,
java.lang.Throwable cause)
Creates a new AbortOnlyException with the provided message and cause.
|
public AbortOnlyException(java.lang.String message)
message - the message.public AbortOnlyException(java.lang.String message,
java.lang.Throwable cause)
message - the messagecause - the cause.