javax.inject
Class AmbiguousDependencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.inject.DeploymentException
                  extended by javax.inject.AmbiguousDependencyException
All Implemented Interfaces:
java.io.Serializable

public class AmbiguousDependencyException
extends DeploymentException

An AmbiguousDependencyException is thrown when within the set of enabled beans with the API type and bind- ing types declared there exists no unique Web Bean with a higher precedence than all other beans in the set.

Author:
Pete Muir
See Also:
Serialized Form

Constructor Summary
AmbiguousDependencyException()
           
AmbiguousDependencyException(java.lang.String message)
           
AmbiguousDependencyException(java.lang.String message, java.lang.Throwable throwable)
           
AmbiguousDependencyException(java.lang.Throwable throwable)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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()

AmbiguousDependencyException

public AmbiguousDependencyException(java.lang.String message,
                                    java.lang.Throwable throwable)

AmbiguousDependencyException

public AmbiguousDependencyException(java.lang.String message)

AmbiguousDependencyException

public AmbiguousDependencyException(java.lang.Throwable throwable)


Copyright © 2008-2009. All Rights Reserved.