org.axonframework.commandhandling.distributed
Class RemoteCommandHandlingException

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.distributed.RemoteCommandHandlingException
All Implemented Interfaces:
Serializable

public class RemoteCommandHandlingException
extends AxonException

Exception indicating that an error has occurred while remotely handling a command. This may mean that a command was dispatched, but the segment that handled the command is no longer available.

The sender of the command cannot assume that the command has not been handled. It may, if the type of command or the infrastructure allows it, try to dispatch the command again.

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

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

RemoteCommandHandlingException

public RemoteCommandHandlingException(String message)
Initializes the exception using the given message.

Parameters:
message - The message describing the exception

RemoteCommandHandlingException

public RemoteCommandHandlingException(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.