Class NoHandlerForEventException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.messaging.eventhandling.NoHandlerForEventException
All Implemented Interfaces:
Serializable

public class NoHandlerForEventException extends RuntimeException
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 Details

    • NoHandlerForEventException

      public NoHandlerForEventException(@Nonnull QualifiedName eventName, @Nonnull String componentName)
      Constructs a NoHandlerForEventException signaling there was no EventHandler for the given eventName present in the component with the given componentName.
      Parameters:
      eventName - The qualified name for which there was no EventHandler.
      componentName - The name of the component that did not have an EventHandler for the given eventName.