public class NoHandlerForCommandException extends AxonTransientException
AxonTransientException
, since (especially in a MicroServices Architecture context) the
handler may return. RetryScheduler
s will now see this exception
as retryable.Constructor and Description |
---|
NoHandlerForCommandException(CommandMessage<?> commandMessage)
Initialize a NoHandlerForCommandException with a message describing the given
CommandMessage . |
NoHandlerForCommandException(String message)
Initialize a NoHandlerForCommandException with the given
message . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoHandlerForCommandException(String message)
message
.message
- The message describing the cause of the exceptionpublic NoHandlerForCommandException(CommandMessage<?> commandMessage)
CommandMessage
.commandMessage
- The command for which no handler was foundCopyright © 2010–2020. All rights reserved.