org.jvnet.hk2.component
Class UnsatisfiedDependencyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.glassfish.hk2.ComponentException
                  extended by org.jvnet.hk2.component.ComponentException
                      extended by org.jvnet.hk2.component.UnsatisfiedDependencyException
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class UnsatisfiedDependencyException
extends ComponentException

Exception thrown by the injection manager when a dependency is not satisfied when performing injection.

Author:
Jerome Dochez
See Also:
Serialized Form

Constructor Summary
UnsatisfiedDependencyException(AnnotatedElement target)
          Deprecated.  
UnsatisfiedDependencyException(AnnotatedElement target, Annotation inject)
          Deprecated.  
UnsatisfiedDependencyException(AnnotatedElement target, Annotation inject, Throwable cause)
          Deprecated.  
UnsatisfiedDependencyException(Type target, Class<?> targetClass, Annotation inject, Throwable cause)
          Deprecated.  
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
          Deprecated.  
 AnnotatedElement getUnsatisfiedElement()
          Deprecated.  
 String getUnsatisfiedName()
          Deprecated.  
 boolean isField()
          Deprecated.  
 boolean isMethod()
          Deprecated.  
 
Methods inherited from class org.jvnet.hk2.component.ComponentException
getFailureContext
 
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

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(AnnotatedElement target)
Deprecated. 


UnsatisfiedDependencyException

public UnsatisfiedDependencyException(AnnotatedElement target,
                                      Annotation inject)
Deprecated. 

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(AnnotatedElement target,
                                      Annotation inject,
                                      Throwable cause)
Deprecated. 

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(Type target,
                                      Class<?> targetClass,
                                      Annotation inject,
                                      Throwable cause)
Deprecated. 
Method Detail

isField

public boolean isField()
Deprecated. 

isMethod

public boolean isMethod()
Deprecated. 

getUnsatisfiedName

public String getUnsatisfiedName()
Deprecated. 

getUnsatisfiedElement

public AnnotatedElement getUnsatisfiedElement()
Deprecated. 

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Deprecated. 


Copyright © 2013 Oracle Corporation. All Rights Reserved.