Class AxonException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AxonNonTransientException, AxonServerException, AxonServerQueryDispatchException, AxonTransientException, CommandDispatchException, EventProcessingException, EventPublicationFailedException, HandlerExecutionException, MessageHandlerInvocationException, MessageTypeNotResolvedException, NoHandlerForQueryException, ProcessRetriesExhaustedException, RemoteHandlingException, TransactionMethodExecutionException

public abstract class AxonException extends RuntimeException
Base exception for all Axon Framework related exceptions.
Since:
0.6
Author:
Allard Buijze
See Also:
  • Constructor Details

    • AxonException

      public AxonException(String message)
      Initializes the exception using the given message.
      Parameters:
      message - The message describing the exception
    • AxonException

      public AxonException(String message, Throwable cause)
      Initializes the exception using the given message and cause.
      Parameters:
      message - The message describing the exception
      cause - The underlying cause of the exception
    • AxonException

      public AxonException(String message, Throwable cause, boolean writableStackTrace)
      Initializes the exception using the given message, cause and writableStackTrace.
      Parameters:
      message - The message describing the exception
      cause - The underlying cause of the exception
      writableStackTrace - Whether the stack trace should be generated (true) or not (false)