java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.enterprise.inject.InjectionException
jakarta.enterprise.inject.ResolutionException
jakarta.enterprise.inject.AmbiguousResolutionException
- All Implemented Interfaces:
Serializable
Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates the exception with no detail message or cause.AmbiguousResolutionException
(String message) Creates the exception with given detail message.AmbiguousResolutionException
(String message, Throwable cause) Creates the exception with given detail message and cause.Creates the exception with given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmbiguousResolutionException
public AmbiguousResolutionException()Creates the exception with no detail message or cause. -
AmbiguousResolutionException
-
AmbiguousResolutionException
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
AmbiguousResolutionException
Creates the exception with given cause.- Parameters:
cause
- the cause
-