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:
java.io.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()
Creates the exception with no detail message or cause.AmbiguousResolutionException(java.lang.String message)
Creates the exception with given detail message.AmbiguousResolutionException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.AmbiguousResolutionException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
AmbiguousResolutionException
public AmbiguousResolutionException()
Creates the exception with no detail message or cause.
-
AmbiguousResolutionException
public AmbiguousResolutionException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
AmbiguousResolutionException
public AmbiguousResolutionException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
AmbiguousResolutionException
public AmbiguousResolutionException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
-