Class 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:
  • Constructor Details

    • AmbiguousResolutionException

      public AmbiguousResolutionException()
      Creates the exception with no detail message or cause.
    • AmbiguousResolutionException

      public AmbiguousResolutionException(String message, Throwable cause)
      Creates the exception with given detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause
    • AmbiguousResolutionException

      public AmbiguousResolutionException(String message)
      Creates the exception with given detail message.
      Parameters:
      message - the detail message
    • AmbiguousResolutionException

      public AmbiguousResolutionException(Throwable cause)
      Creates the exception with given cause.
      Parameters:
      cause - the cause