public class UnsatisfiedDependencyException extends BeanCreationException
Constructor and Description |
---|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
InjectionPoint injectionPoint,
BeansException ex)
Create a new UnsatisfiedDependencyException.
|
UnsatisfiedDependencyException(java.lang.String resourceDescription,
java.lang.String beanName,
InjectionPoint injectionPoint,
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.
|
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, toString
getMessage, getMostSpecificCause, getRootCause
public UnsatisfiedDependencyException(@Nullable java.lang.String resourceDescription, @Nullable 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(@Nullable java.lang.String resourceDescription, @Nullable 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(@Nullable java.lang.String resourceDescription, @Nullable java.lang.String beanName, @Nullable InjectionPoint injectionPoint, java.lang.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(@Nullable java.lang.String resourceDescription, @Nullable java.lang.String beanName, @Nullable 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@Nullable public InjectionPoint getInjectionPoint()