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| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| 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.
|
private static final long serialVersionUID
public AbortOnlyException(java.lang.String message)
message - the message.public AbortOnlyException(java.lang.String message,
java.lang.Throwable cause)
message - the messagecause - the cause.