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.BeanDefinitionStoreException
                              extended byorg.springframework.beans.factory.UnsatisfiedDependencyException
All Implemented Interfaces:
java.io.Serializable

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.

Since:
September 3, 2003
Version:
$Id: UnsatisfiedDependencyException.java,v 1.7 2004/03/18 02:46:07 trisberg Exp $
Author:
Rod Johnson, Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
UnsatisfiedDependencyException(java.lang.String beanName, int ctorArgIndex, java.lang.Class ctorArgType, java.lang.String msg)
           
UnsatisfiedDependencyException(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 beanName,
                                      int ctorArgIndex,
                                      java.lang.Class ctorArgType,
                                      java.lang.String msg)

UnsatisfiedDependencyException

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


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