public class NoHandlerForCommandException extends AxonTransientException
As of 4.2, this exception has been moved to AxonTransientException, since (especially in a MicroServices
Architecture context) the handler may return. RetrySchedulers will
now see this exception as retryable.
| Constructor and Description |
|---|
NoHandlerForCommandException(CommandMessage<?> commandMessage)
Initialize this exception with a message describing the given
CommandMessage. |
NoHandlerForCommandException(String message)
Initialize this exception with the given
message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoHandlerForCommandException(String message)
message.message - the message describing the cause of the exceptionpublic NoHandlerForCommandException(CommandMessage<?> commandMessage)
CommandMessage. This constructor specifies
in its message that missing parameters could be the culprit of finding a matching handler.commandMessage - the command for which no handler was foundCopyright © 2010–2023. All rights reserved.