Top Description Fields Constructors
jakarta.enterprise.inject

public Class AmbiguousResolutionException

extends ResolutionException
Class Inheritance

Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.

Authors
Pete Muir, Gavin King

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AmbiguousResolutionException()

Creates the exception with no detail message or cause.

public
AmbiguousResolutionException(String
the detail message
message
,
Throwable
the cause
cause
)

Creates the exception with given detail message and cause.

public
AmbiguousResolutionException(String
the detail message
message
)

Creates the exception with given detail message.

public
AmbiguousResolutionException(Throwable
the cause
cause
)

Creates the exception with given cause.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides jakarta.enterprise.inject.ResolutionException.serialVersionUID.

Constructor Detail

AmbiguousResolutionExceptionback to summary
public AmbiguousResolutionException()

Creates the exception with no detail message or cause.

AmbiguousResolutionExceptionback to summary
public AmbiguousResolutionException(String message, Throwable cause)

Creates the exception with given detail message and cause.

Parameters
message:String

the detail message

cause:Throwable

the cause

AmbiguousResolutionExceptionback to summary
public AmbiguousResolutionException(String message)

Creates the exception with given detail message.

Parameters
message:String

the detail message

AmbiguousResolutionExceptionback to summary
public AmbiguousResolutionException(Throwable cause)

Creates the exception with given cause.

Parameters
cause:Throwable

the cause