public class UnsatisfiedDependencyException extends BeanCreationException
Constructor and Description |
---|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
int ctorArgIndex,
Class<?> ctorArgType,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(String resourceDescription,
String beanName,
int ctorArgIndex,
Class<?> ctorArgType,
String msg)
Create a new UnsatisfiedDependencyException.
|
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.
|
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString
equals, hashCode
getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
public 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, int ctorArgIndex, Class<?> ctorArgType, String msg)
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 messagepublic UnsatisfiedDependencyException(String resourceDescription, String beanName, int ctorArgIndex, Class<?> ctorArgType, BeansException ex)
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 dependency