public class DuplicateQueryHandlerSubscriptionException extends AxonNonTransientException
Constructor and Description |
---|
DuplicateQueryHandlerSubscriptionException(String message)
Initializes a duplicate query handler subscription exception using the given
message . |
DuplicateQueryHandlerSubscriptionException(String queryName,
Type responseType,
QuerySubscription<?> initialHandler,
QuerySubscription<?> duplicateHandler)
Initialize a duplicate query handler subscription exception using the given
initialHandler and duplicateHandler to form a specific message. |
isCauseOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateQueryHandlerSubscriptionException(String queryName, Type responseType, QuerySubscription<?> initialHandler, QuerySubscription<?> duplicateHandler)
initialHandler
and duplicateHandler
to form a specific message.queryName
- The name of the query for which the duplicate was detectedresponseType
- The response type of the query for which the duplicate was detectedinitialHandler
- the initial MessageHandler
for which a duplicate was encounteredduplicateHandler
- the duplicated MessageHandler
public DuplicateQueryHandlerSubscriptionException(String message)
message
.message
- the message describing the exceptionCopyright © 2010–2023. All rights reserved.