public class UnsatisfiedDependencyException extends ConfigurationException
| Constructor and Description |
|---|
UnsatisfiedDependencyException(AnnotatedElement target)
Deprecated.
|
UnsatisfiedDependencyException(AnnotatedElement target,
Annotation inject) |
UnsatisfiedDependencyException(AnnotatedElement target,
Annotation inject,
Throwable cause) |
UnsatisfiedDependencyException(Type target,
Class<?> targetClass,
Annotation inject,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
AnnotatedElement |
getUnsatisfiedElement() |
String |
getUnsatisfiedName() |
boolean |
isField() |
boolean |
isMethod() |
getLocation, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsatisfiedDependencyException(AnnotatedElement target)
public UnsatisfiedDependencyException(AnnotatedElement target, Annotation inject)
public UnsatisfiedDependencyException(AnnotatedElement target, Annotation inject, Throwable cause)
public UnsatisfiedDependencyException(Type target, Class<?> targetClass, Annotation inject, Throwable cause)
public boolean isField()
public boolean isMethod()
public String getUnsatisfiedName()
public AnnotatedElement getUnsatisfiedElement()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
Copyright © 2009-2017 Oracle Corporation. All Rights Reserved.