Class CommitFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.turboism.sdk.cubism.transaction.TransactionException
dev.turboism.sdk.cubism.transaction.CommitFailedException
- All Implemented Interfaces:
Serializable
Signals that a commit failed after the transaction began its host work.
The failure is typed for caller diagnostics; it does not expose a host object or authorize a retry.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommitFailedException(String transactionId, String message) Creates this typed transaction diagnostic.CommitFailedException(String transactionId, String message, Throwable cause) Creates this typed transaction diagnostic with the originating cause. -
Method Summary
Methods inherited from class dev.turboism.sdk.cubism.transaction.TransactionException
errorCode, severity, transactionIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommitFailedException
Creates this typed transaction diagnostic.- Parameters:
transactionId- the diagnostic value for this exceptionmessage- the diagnostic value for this exception
-
CommitFailedException
Creates this typed transaction diagnostic with the originating cause.- Parameters:
transactionId- the transaction identitymessage- the diagnostic messagecause- the originating failure
-