Class TransactionException

All Implemented Interfaces:
Serializable

public final class TransactionException extends RuntimeException
Exception type representing errors that occur during transactional operations.

This exception serves as a runtime wrapper for issues that arise in the context of database transactions, such as failures in transactional boundaries, integrity violations, or isolation level-related errors.

See Also:
  • Constructor Details

    • TransactionException

      public TransactionException(String message, Throwable cause)
      Constructs a new TransactionException with the specified detail.
      Parameters:
      message - the detail message
      cause - the cause of the exception
    • TransactionException

      public TransactionException(String message)
      Constructs a new TransactionException with the specified detail.
      Parameters:
      message - the detail message