UnsatisfiedDependencyException(@Nullable resourceDescription: String, @Nullable beanName: String, propertyName: String, msg: String)
Create a new UnsatisfiedDependencyException.
resourceDescription - description of the resource that the bean definition came from
beanName - the name of the bean requested
propertyName - the name of the bean property that couldn't be satisfied
UnsatisfiedDependencyException(@Nullable resourceDescription: String, @Nullable beanName: String, propertyName: String, ex: BeansException)
Create a new UnsatisfiedDependencyException.
resourceDescription - description of the resource that the bean definition came from
beanName - the name of the bean requested
propertyName - the name of the bean property that couldn't be satisfied
ex - the bean creation exception that indicated the unsatisfied dependency
UnsatisfiedDependencyException(@Nullable resourceDescription: String, @Nullable beanName: String, @Nullable injectionPoint: InjectionPoint, msg: String)
Create a new UnsatisfiedDependencyException.
resourceDescription - description of the resource that the bean definition came from
beanName - the name of the bean requested
injectionPoint - the injection point (field or method/constructor parameter)
Since
4.3
UnsatisfiedDependencyException(@Nullable resourceDescription: String, @Nullable beanName: String, @Nullable injectionPoint: InjectionPoint, ex: BeansException)
Create a new UnsatisfiedDependencyException.
resourceDescription - description of the resource that the bean definition came from
beanName - the name of the bean requested
injectionPoint - the injection point (field or method/constructor parameter)
ex - the bean creation exception that indicated the unsatisfied dependency
Since
4.3