spring-framework / org.springframework.beans.factory / UnsatisfiedDependencyException

UnsatisfiedDependencyException

open class UnsatisfiedDependencyException : BeanCreationException

Exception thrown when a bean depends on other beans or simple properties that were not specified in the bean factory definition, although dependency checking was enabled.

Author
Rod Johnson

Author
Juergen Hoeller

Since
03.09.2003

Constructors

<init>

UnsatisfiedDependencyException(resourceDescription: String, beanName: String, propertyName: String, msg: String)
UnsatisfiedDependencyException(resourceDescription: String, beanName: String, propertyName: String, ex: BeansException)
UnsatisfiedDependencyException(resourceDescription: String, beanName: String, injectionPoint: InjectionPoint, msg: String)
UnsatisfiedDependencyException(resourceDescription: String, beanName: String, injectionPoint: InjectionPoint, ex: BeansException)

Create a new UnsatisfiedDependencyException.

Functions

getInjectionPoint

open fun getInjectionPoint(): InjectionPoint

Return the injection point (field or method/constructor parameter), if known.