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(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, toStringpublic AbortOnlyException(String message)
message - the message.Copyright © 2025. All rights reserved.