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

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:
  • Constructor Details

    • TransactionMethodExecutionException

      public TransactionMethodExecutionException(String message, Throwable cause)
      Initialize the exception with given message and cause.
      Parameters:
      message - Message describing the cause of the exception
      cause - The exception that caused this exception to occur.