Class TxnFailureRollback
java.lang.Object
com.github.sttk.sabi.TxnFailureRollback
Represents the rollback outcome of a data connection during transaction failure processing.
This class encapsulates the state of the rollback (via TxnFailureRollbackState) and
any error (Err) encountered when attempting to roll back the connection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.github.sttk.errs.ErrThe error instance associated with a rollback failure, ornullif none.final TxnFailureRollbackStateThe transaction failure rollback state indicating the outcome of the rollback. -
Constructor Summary
ConstructorsConstructorDescriptionTxnFailureRollback(TxnFailureRollbackState state, com.github.sttk.errs.Err err) Constructs a newTxnFailureRollbackwith the specified rollback state and error. -
Method Summary
-
Field Details
-
state
The transaction failure rollback state indicating the outcome of the rollback. -
err
public final com.github.sttk.errs.Err errThe error instance associated with a rollback failure, ornullif none.
-
-
Constructor Details
-
TxnFailureRollback
Constructs a newTxnFailureRollbackwith the specified rollback state and error.- Parameters:
state- the transaction failure rollback stateerr- the error associated with the rollback failure, ornull
-
-
Method Details
-
toString
-