javax.enterprise.inject
Class InjectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.enterprise.inject.InjectionException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CreationException, IllegalProductException, ResolutionException

public class InjectionException
extends java.lang.RuntimeException

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
InjectionException()
           
InjectionException(java.lang.String message)
           
InjectionException(java.lang.String message, java.lang.Throwable throwable)
           
InjectionException(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

InjectionException

public InjectionException()

InjectionException

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

InjectionException

public InjectionException(java.lang.String message)

InjectionException

public InjectionException(java.lang.Throwable throwable)


Copyright © 2008-2009. All Rights Reserved.