Package org.axonframework.common
Class AxonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AxonNonTransientException,AxonServerException,AxonServerQueryDispatchException,AxonTransientException,CommandDispatchException,EventProcessingException,EventPublicationFailedException,HandlerExecutionException,MessageHandlerInvocationException,MessageTypeNotResolvedException,NoHandlerForQueryException,ProcessRetriesExhaustedException,RemoteHandlingException,TransactionMethodExecutionException
Base exception for all Axon Framework related exceptions.
- Since:
- 0.6
- Author:
- Allard Buijze
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxonException(String message) Initializes the exception using the givenmessage.AxonException(String message, Throwable cause) Initializes the exception using the givenmessageandcause.AxonException(String message, Throwable cause, boolean writableStackTrace) Initializes the exception using the givenmessage,causeandwritableStackTrace. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AxonException
Initializes the exception using the givenmessage.- Parameters:
message- The message describing the exception
-
AxonException
Initializes the exception using the givenmessageandcause.- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exception
-
AxonException
Initializes the exception using the givenmessage,causeandwritableStackTrace.- Parameters:
message- The message describing the exceptioncause- The underlying cause of the exceptionwritableStackTrace- Whether the stack trace should be generated (true) or not (false)
-