Package jakarta.enterprise.inject
Class AmbiguousResolutionException
- 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
public class AmbiguousResolutionException extends ResolutionException
Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.
- Author:
- Pete Muir, Gavin King
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmbiguousResolutionException()
AmbiguousResolutionException(String message)
AmbiguousResolutionException(String message, Throwable throwable)
AmbiguousResolutionException(Throwable throwable)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AmbiguousResolutionException
public AmbiguousResolutionException()
-
AmbiguousResolutionException
public AmbiguousResolutionException(String message, Throwable throwable)
-
AmbiguousResolutionException
public AmbiguousResolutionException(String message)
-
AmbiguousResolutionException
public AmbiguousResolutionException(Throwable throwable)
-
-