Class AmbiguousDependencyException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AmbiguousDependencyException
    extends DependencyException
    Thrown when there are multiple candidates for a dependency where only one is expected. This occurs when a type requires a specific dependency and multiple options are available.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AmbiguousDependencyException​(java.lang.String message)
      Constructs a new instance.
    • 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

      • AmbiguousDependencyException

        public AmbiguousDependencyException​(java.lang.String message)
        Constructs a new instance.
        Parameters:
        message - a message, cannot be null