org.springframework.beans.factory
Class BeanCreationException

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.BeanCreationException

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

Constructor Summary
BeanCreationException(String msg)
           
BeanCreationException(String msg, Throwable ex)
           
BeanCreationException(String resourceDescription, String beanName, String msg)
           
BeanCreationException(String resourceDescription, String beanName, String msg, Throwable ex)
           

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

BeanCreationException

public BeanCreationException(String msg)

BeanCreationException

public BeanCreationException(String msg, Throwable ex)

BeanCreationException

public BeanCreationException(String resourceDescription, String beanName, String msg)

BeanCreationException

public BeanCreationException(String resourceDescription, String beanName, String msg, Throwable ex)