Class AmbiguousComponentMatchException

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

public class AmbiguousComponentMatchException extends RuntimeException
An exception indicating a Component is being retrieved for a type and name combination that resulted in several matches.
Since:
5.0.0
Author:
Steven van Beelen
See Also:
  • Constructor Details

    • AmbiguousComponentMatchException

      public AmbiguousComponentMatchException(@Nonnull Component.Identifier<C> identifier)
      Constructs an AmbiguousComponentMatchException for the given identifier.
      Type Parameters:
      C - The Component.Identifier.type() of the given identifier.
      Parameters:
      identifier - The identifier for which to create an AmbiguousComponentMatchException.