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, 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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 exceptioncause
- The underlying cause of the exception
Copyright © 2010-2016. All Rights Reserved.