org.jvnet.hk2.component
Class UnsatisfiedDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jvnet.hk2.component.ComponentException
org.jvnet.hk2.component.UnsatisfiedDependencyException
- All Implemented Interfaces:
- java.io.Serializable
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
| 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 |
UnsatisfiedDependencyException
public UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target)
UnsatisfiedDependencyException
public UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target,
java.lang.Throwable cause)
UnsatisfiedDependencyException
public UnsatisfiedDependencyException(java.lang.reflect.Field target,
java.lang.Throwable cause)
isField
public boolean isField()
isMethod
public boolean isMethod()
getUnsatisfiedName
public java.lang.String getUnsatisfiedName()
getUnsatisfiedElement
public java.lang.reflect.AnnotatedElement getUnsatisfiedElement()
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Copyright © 2011 Oracle Corporation. All Rights Reserved.