Class TxException

All Implemented Interfaces:
Serializable

public class TxException extends RuntimeException
A RuntimeException that indicates that task with managed transaction has failed.
See Also:
  • Constructor Details

    • TxException

      public TxException(String message)
      Create new exception for a message.
      Parameters:
      message - descriptive message, shall not be null
      Throws:
      NullPointerException - when message is null
    • TxException

      public TxException(String message, Throwable cause)
      Create new exception for a message and a cause.
      Parameters:
      message - descriptive message, shall not be null
      cause - original throwable causing this exception, shall not be null
      Throws:
      NullPointerException - when message or cause is null