public class NoHandlerForQueryException extends AxonNonTransientException
Constructor and Description |
---|
NoHandlerForQueryException(QueryMessage<?,?> query)
Initialize this exception with a message describing the given
QueryMessage . |
NoHandlerForQueryException(String message)
Initialize this exception with the given
message . |
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoHandlerForQueryException(String message)
message
.message
- the message describing the cause of the exceptionpublic NoHandlerForQueryException(QueryMessage<?,?> query)
QueryMessage
. This constructor specifies in
its message that missing parameters could be the culprit of finding a matching handler.query
- the query
for which no handler was foundCopyright © 2010–2023. All rights reserved.