@Stability.Volatile
public class TransactionOperationFailed
extends java.lang.RuntimeException
The details of the failure are opaque, as the application is not expected to take action on this failure. The application should not catch errors from operations.
All methods on this class are for internal use only.
Modifier and Type | Class and Description |
---|---|
static class |
TransactionOperationFailed.FinalErrorToRaise |
Constructor and Description |
---|
TransactionOperationFailed(AttemptContextReactive ctx,
ErrorClasses causingErrorClass,
boolean autoRollbackAttempt,
boolean retryTransaction,
java.lang.Throwable cause,
TransactionOperationFailed.FinalErrorToRaise toRaise) |
Modifier and Type | Method and Description |
---|---|
boolean |
autoRollbackAttempt() |
ErrorClasses |
causingErrorClass() |
AttemptContextReactive |
context() |
static TransactionOperationFailed |
convertToOperationFailedIfNeeded(java.lang.Throwable e,
AttemptContextReactive ctx,
TransactionResult result) |
boolean |
retryTransaction() |
TransactionOperationFailed.FinalErrorToRaise |
toRaise() |
java.lang.String |
toString() |
public TransactionOperationFailed(AttemptContextReactive ctx, ErrorClasses causingErrorClass, boolean autoRollbackAttempt, boolean retryTransaction, java.lang.Throwable cause, TransactionOperationFailed.FinalErrorToRaise toRaise)
@Stability.Internal public ErrorClasses causingErrorClass()
@Stability.Internal public boolean autoRollbackAttempt()
@Stability.Internal public boolean retryTransaction()
@Stability.Internal public AttemptContextReactive context()
@Stability.Internal public TransactionOperationFailed.FinalErrorToRaise toRaise()
public java.lang.String toString()
toString
in class java.lang.Throwable
@Stability.Internal public static TransactionOperationFailed convertToOperationFailedIfNeeded(java.lang.Throwable e, AttemptContextReactive ctx, TransactionResult result)