Class AmbiguousComponentMatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.configuration.AmbiguousComponentMatchException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionAmbiguousComponentMatchException(Component.Identifier<C> identifier) Constructs anAmbiguousComponentMatchExceptionfor the givenidentifier. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmbiguousComponentMatchException
Constructs anAmbiguousComponentMatchExceptionfor the givenidentifier.- Type Parameters:
C- TheComponent.Identifier.type()of the givenidentifier.- Parameters:
identifier- The identifier for which to create anAmbiguousComponentMatchException.
-