org.axonframework.commandhandling
Class CommandExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.axonframework.common.AxonException
                  extended by 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

Constructor Summary
CommandExecutionException(String message, Throwable cause)
          Initializes the exception with 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

CommandExecutionException

public CommandExecutionException(String message,
                                 Throwable cause)
Initializes the exception with given message and cause.

Parameters:
message - The message describing the exception
cause - The cause of the exception


Copyright © 2010-2016. All Rights Reserved.