org.axonframework.common
Class AxonException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AxonNonTransientException, AxonTransientException, CommandDispatchException, CommandExecutionException, ConnectionFailedException, EventPublicationFailedException, MembershipUpdateFailedException, MessageHandlerInvocationException, RemoteCommandHandlingException, ReplayFailedException, TransactionMethodExecutionException

public abstract class AxonException
extends RuntimeException

Base exception of all Axon Framework related exceptions.

Since:
0.6
Author:
Allard Buijze
See Also:
Serialized Form

Constructor Summary
AxonException(String message)
          Initializes the exception using the given message.
AxonException(String message, Throwable cause)
          Initializes the exception using the 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

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


Copyright © 2010-2016. All Rights Reserved.