public class UnsatisfiedDependencyException extends BeanCreationException
| Constructor and Description |
|---|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
int ctorArgIndex,
java.lang.Class ctorArgType,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
int ctorArgIndex,
java.lang.Class ctorArgType,
java.lang.String msg)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String propertyName,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String propertyName,
java.lang.String msg)
Create a new UnsatisfiedDependencyException.
|
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toStringequals, hashCodegetMessage, getMostSpecificCause, getRootCausepublic UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String propertyName,
java.lang.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(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.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(java.lang.String resourceDescription,
java.lang.String beanName,
int ctorArgIndex,
java.lang.Class ctorArgType,
java.lang.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(java.lang.String resourceDescription,
java.lang.String beanName,
int ctorArgIndex,
java.lang.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