org.axonframework.eventhandling.annotation
Class TransactionMethodExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.eventhandling.annotation.TransactionMethodExecutionException
- All Implemented Interfaces:
- Serializable
public class TransactionMethodExecutionException
- extends AxonException
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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TransactionMethodExecutionException
public TransactionMethodExecutionException(String message,
Throwable cause)
- Initialize the exception with given
message
and cause
.
- Parameters:
message
- Message describing the cause of the exceptioncause
- The exception that caused this exception to occur.
Copyright © 2010-2016. All Rights Reserved.