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:
java.io.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(java.lang.String resourceDescription, java.lang.String beanName, int ctorArgIndex, java.lang.Class ctorArgType, java.lang.String msg)
           
UnsatisfiedDependencyException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String propertyName, java.lang.String msg)
           
 
Methods inherited from class org.springframework.core.NestedRuntimeException
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(java.lang.String resourceDescription,
                                      java.lang.String beanName,
                                      int ctorArgIndex,
                                      java.lang.Class ctorArgType,
                                      java.lang.String msg)

UnsatisfiedDependencyException

public UnsatisfiedDependencyException(java.lang.String resourceDescription,
                                      java.lang.String beanName,
                                      java.lang.String propertyName,
                                      java.lang.String msg)


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