org.axonframework.eventhandling.annotation
Class TransactionMethodExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by 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

Constructor Summary
TransactionMethodExecutionException(String message, Throwable cause)
          Initialize the exception with given message and cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.


Copyright © 2010-2016. All Rights Reserved.