public class UnsatisfiedDependencyException extends BeanCreationException
| Constructor and Description |
|---|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
InjectionPoint injectionPoint,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
InjectionPoint injectionPoint,
String msg)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
int ctorArgIndex,
Class<?> ctorArgType,
BeansException ex)
Deprecated.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
int ctorArgIndex,
Class<?> ctorArgType,
String msg)
Deprecated.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
String propertyName,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
String propertyName,
String msg)
Create a new UnsatisfiedDependencyException.
|
| Modifier and Type | Method and Description |
|---|---|
InjectionPoint |
getInjectionPoint()
Return the injection point (field or method/constructor parameter), if known.
|
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toStringequals, hashCodegetMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTracepublic UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, String msg)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedpropertyName - the name of the bean property that couldn't be satisfiedmsg - the detail messagepublic UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, BeansException ex)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedpropertyName - the name of the bean property that couldn't be satisfiedex - the bean creation exception that indicated the unsatisfied dependencypublic UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, String msg)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedinjectionPoint - the injection point (field or method/constructor parameter)msg - the detail messagepublic UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedinjectionPoint - the injection point (field or method/constructor parameter)ex - the bean creation exception that indicated the unsatisfied dependency@Deprecated public UnsatisfiedDependencyException(String resourceDescription, String beanName, int ctorArgIndex, Class<?> ctorArgType, String msg)
UnsatisfiedDependencyException(String, String, InjectionPoint, String)resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedctorArgIndex - the index of the constructor argument that couldn't be satisfiedctorArgType - the type of the constructor argument that couldn't be satisfiedmsg - the detail message@Deprecated public UnsatisfiedDependencyException(String resourceDescription, String beanName, int ctorArgIndex, Class<?> ctorArgType, BeansException ex)
UnsatisfiedDependencyException(String, String, InjectionPoint, BeansException)resourceDescription - description of the resource that the bean definition came frombeanName - the name of the bean requestedctorArgIndex - the index of the constructor argument that couldn't be satisfiedctorArgType - the type of the constructor argument that couldn't be satisfiedex - the bean creation exception that indicated the unsatisfied dependencypublic InjectionPoint getInjectionPoint()