Class StaleTransactionException

All Implemented Interfaces:
Serializable

public class StaleTransactionException extends TransactionException
Thrown when a transaction that has been committed, rolled back, or otherwise invalidated is accessed.
See Also:
  • Constructor Details

    • StaleTransactionException

      public StaleTransactionException(Transaction tx)
      Constructor.
      Parameters:
      tx - the stale transaction
      Throws:
      IllegalArgumentException - if tx is null
    • StaleTransactionException

      public StaleTransactionException(Transaction tx, String message)
      Constructor.
      Parameters:
      tx - the stale transaction
      message - exception message
      Throws:
      IllegalArgumentException - if tx is null