java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.litebridgedb.db.spi.tx.TransactionException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionTransactionException(String message) Constructs a newTransactionExceptionwith the specified detail.TransactionException(String message, Throwable cause) Constructs a newTransactionExceptionwith the specified detail. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionException
Constructs a newTransactionExceptionwith the specified detail.- Parameters:
message- the detail messagecause- the cause of the exception
-
TransactionException
Constructs a newTransactionExceptionwith the specified detail.- Parameters:
message- the detail message
-