Class NoHandlerForEventException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.messaging.eventhandling.NoHandlerForEventException
- All Implemented Interfaces:
Serializable
Exception thrown whenever an
EventHandlingComponent is given an EventMessage for which it does not
have a
invalid reference
subscribed
EventHandler.- Since:
- 5.0.0
- Author:
- Steven van Beelen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNoHandlerForEventException(QualifiedName eventName, String componentName) Constructs aNoHandlerForEventExceptionsignaling there was noEventHandlerfor the giveneventNamepresent in the component with the givencomponentName. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoHandlerForEventException
Constructs aNoHandlerForEventExceptionsignaling there was noEventHandlerfor the giveneventNamepresent in the component with the givencomponentName.- Parameters:
eventName- The qualified name for which there was noEventHandler.componentName- The name of the component that did not have anEventHandlerfor the giveneventName.
-