spring-framework / org.springframework.transaction / HeuristicCompletionException

HeuristicCompletionException

open class HeuristicCompletionException : TransactionException

Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.

Author
Rod Johnson

Author
Juergen Hoeller

Since
17.03.2003

Constructors

<init>

HeuristicCompletionException(outcomeState: Int, cause: Throwable)

Constructor for HeuristicCompletionException.

Properties

STATE_COMMITTED

static val STATE_COMMITTED: Int

STATE_MIXED

static val STATE_MIXED: Int

STATE_ROLLED_BACK

static val STATE_ROLLED_BACK: Int

STATE_UNKNOWN

static val STATE_UNKNOWN: Int

Values for the outcome state of a heuristically completed transaction.

Functions

getOutcomeState

open fun getOutcomeState(): Int

Return the outcome state of the transaction state, as one of the constants in this class.

getStateString

open static fun getStateString(state: Int): String