public class UnsatisfiedDependencyException extends ConfigurationException
| Constructor and Description |
|---|
UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target)
Deprecated.
|
UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target,
java.lang.annotation.Annotation inject) |
UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target,
java.lang.annotation.Annotation inject,
java.lang.Throwable cause) |
UnsatisfiedDependencyException(java.lang.reflect.Type target,
java.lang.Class<?> targetClass,
java.lang.annotation.Annotation inject,
java.lang.Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationType) |
java.lang.reflect.AnnotatedElement |
getUnsatisfiedElement() |
java.lang.String |
getUnsatisfiedName() |
boolean |
isField() |
boolean |
isMethod() |
getLocation, getMessagepublic UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target)
public UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target,
java.lang.annotation.Annotation inject)
public UnsatisfiedDependencyException(java.lang.reflect.AnnotatedElement target,
java.lang.annotation.Annotation inject,
java.lang.Throwable cause)
public UnsatisfiedDependencyException(java.lang.reflect.Type target,
java.lang.Class<?> targetClass,
java.lang.annotation.Annotation inject,
java.lang.Throwable cause)
public boolean isField()
public boolean isMethod()
public java.lang.String getUnsatisfiedName()
public java.lang.reflect.AnnotatedElement getUnsatisfiedElement()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationType)
Copyright © 2013 Oracle Corporation. All Rights Reserved.