java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.transaction.TxException
- All Implemented Interfaces:
Serializable
A
RuntimeException that indicates that task with managed transaction has failed.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTxException(String message) Create new exception for a message.TxException(String message, Throwable cause) Create new exception for a message and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TxException
Create new exception for a message.- Parameters:
message- descriptive message, shall not benull- Throws:
NullPointerException- whenmessageisnull
-
TxException
Create new exception for a message and a cause.- Parameters:
message- descriptive message, shall not benullcause- original throwable causing this exception, shall not benull- Throws:
NullPointerException- whenmessageorcauseisnull
-