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, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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 © 2018. All rights reserved.