Class SubscriptionQueryAlreadyRegisteredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.messaging.queryhandling.SubscriptionQueryAlreadyRegisteredException
- All Implemented Interfaces:
Serializable
Exception thrown whenever
.
QueryBus.subscriptionQuery(SubscriptionQueryMessage, ProcessingContext, int) is
invoked multiple times for the same
invalid reference
SubscriptionQueryMessage
- Since:
- 5.0.0
- Author:
- Steven van Beelen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSubscriptionQueryAlreadyRegisteredExceptionfor the givenqueryId. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SubscriptionQueryAlreadyRegisteredException
Constructs aSubscriptionQueryAlreadyRegisteredExceptionfor the givenqueryId.- Parameters:
queryId- Theof the subscription query accidentally being registered multiple times.invalid reference
SubscriptionQueryMessage#identifier()
-