org.springframework.beans.factory
Class UnsatisfiedDependencyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.springframework.core.NestedRuntimeException
                          |
                          +--org.springframework.beans.BeansException
                                |
                                +--org.springframework.beans.FatalBeanException
                                      |
                                      +--org.springframework.beans.factory.BeanDefinitionStoreException
                                            |
                                            +--org.springframework.beans.factory.UnsatisfiedDependencyException

public class UnsatisfiedDependencyException
extends BeanDefinitionStoreException

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, Juergen Hoeller
Version: $Id: UnsatisfiedDependencyException.java,v 1.5 2004/01/20 11:26:43 jhoeller Exp $
Since: September 3, 2003
See Also: FactoryBean

Constructor Summary
UnsatisfiedDependencyException(String beanName, int ctorArgIndex, Class ctorArgType)
           
UnsatisfiedDependencyException(String beanName, int ctorArgIndex, Class ctorArgType, String msg)
           
UnsatisfiedDependencyException(String beanName, String propertyName)
           
UnsatisfiedDependencyException(String beanName, String propertyName, String msg)
           

Methods inherited from class org.springframework.core.NestedRuntimeException
getCause, getMessage, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause

Methods inherited from class java.lang.Object
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals

Constructor Detail

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(String beanName, int ctorArgIndex, Class ctorArgType)

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(String beanName, int ctorArgIndex, Class ctorArgType, String msg)

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(String beanName, String propertyName)

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(String beanName, String propertyName, String msg)