org.axonframework.commandhandling
Class CommandExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.commandhandling.CommandExecutionException
- All Implemented Interfaces:
- Serializable
public class CommandExecutionException
- extends AxonException
Indicates that an exception has occurred while handling a command. Typically, this class is used to wrap checked
exceptions that have been thrown from a Command Handler while processing an incoming command.
- Since:
- 1.3
- 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 |
CommandExecutionException
public CommandExecutionException(String message,
Throwable cause)
- Initializes the exception with given
message
and cause
.
- Parameters:
message
- The message describing the exceptioncause
- The cause of the exception
Copyright © 2010-2016. All Rights Reserved.