Class TransactionMethodExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.messaging.eventhandling.TransactionMethodExecutionException
- All Implemented Interfaces:
Serializable
Wrapper for exceptions that occurred while calling an @BeforeTransaction or @AfterTransaction annotated method. This
might indicate that a transaction could not be committed successfully with a third party.
- Since:
- 0.3
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionMethodExecutionException(String message, Throwable cause) Initialize the exception with givenmessageandcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionMethodExecutionException
Initialize the exception with givenmessageandcause.- Parameters:
message- Message describing the cause of the exceptioncause- The exception that caused this exception to occur.
-