org.springframework.beans.factory
Class BeanCreationException

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
All Implemented Interfaces:
java.io.Serializable

public class BeanCreationException
extends FatalBeanException

Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.

Author:
Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
BeanCreationException(java.lang.String msg)
           
BeanCreationException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg)
           
BeanCreationException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg, java.lang.Throwable ex)
           
BeanCreationException(java.lang.String msg, java.lang.Throwable ex)
           
 
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

BeanCreationException

public BeanCreationException(java.lang.String msg)

BeanCreationException

public BeanCreationException(java.lang.String msg,
                             java.lang.Throwable ex)

BeanCreationException

public BeanCreationException(java.lang.String resourceDescription,
                             java.lang.String beanName,
                             java.lang.String msg)

BeanCreationException

public BeanCreationException(java.lang.String resourceDescription,
                             java.lang.String beanName,
                             java.lang.String msg,
                             java.lang.Throwable ex)


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