Class ComponentNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.configuration.ComponentNotFoundException
All Implemented Interfaces:
Serializable

public class ComponentNotFoundException extends RuntimeException
A RuntimeException dedicated when a Component cannot be found in the Configuration.
Since:
5.0.0
Author:
Steven van Beelen, Mitchell Herrijgers
See Also:
  • Constructor Details

    • ComponentNotFoundException

      public ComponentNotFoundException(@Nonnull Class<?> type, @Nullable String name)
      Constructs a ComponentNotFoundException with a default message describing a Component couldn't be found for the given type and name.
      Parameters:
      type - The type of the component that could not be found, typically an interface.
      name - The name of the component that could not be found, potentially null when unimportant.