Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 message
        cause - 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