org.springframework.beans.factory
Class UnsatisfiedDependencyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.beans.BeansException
                      extended byorg.springframework.beans.FatalBeanException
                          extended byorg.springframework.beans.factory.BeanCreationException
                              extended byorg.springframework.beans.factory.UnsatisfiedDependencyException
All Implemented Interfaces:
Serializable

public class UnsatisfiedDependencyException
extends 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.

Since:
September 3, 2003
Author:
Rod Johnson, Juergen Hoeller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Constructor Summary
UnsatisfiedDependencyException(String resourceDescription, String beanName, int ctorArgIndex, Class ctorArgType, String msg)
           
UnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, String msg)
           
 
Methods inherited from class org.springframework.beans.factory.BeanCreationException
getBeanName, getResourceDescription
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsatisfiedDependencyException

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

UnsatisfiedDependencyException

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


Copyright (C) 2003-2004 The Spring Framework Project.