| org.springframework.beans.FatalBeanException org.springframework.beans.factory.BeanCreationException
All known Subclasses: org.springframework.beans.factory.UnsatisfiedDependencyException, org.springframework.beans.factory.BeanCreationNotAllowedException, org.springframework.beans.factory.BeanIsAbstractException, org.springframework.beans.factory.BeanCurrentlyInCreationException,
BeanCreationException | public class BeanCreationException extends FatalBeanException (Code) | | Exception thrown when a BeanFactory encounters an error when
attempting to create a bean from a bean definition.
author: Juergen Hoeller |
BeanCreationException | public BeanCreationException(String msg)(Code) | | Create a new BeanCreationException.
Parameters: msg - the detail message |
BeanCreationException | public BeanCreationException(String msg, Throwable cause)(Code) | | Create a new BeanCreationException.
Parameters: msg - the detail message Parameters: cause - the root cause |
BeanCreationException | public BeanCreationException(String beanName, String msg)(Code) | | Create a new BeanCreationException.
Parameters: beanName - the name of the bean requested Parameters: msg - the detail message |
BeanCreationException | public BeanCreationException(String beanName, String msg, Throwable cause)(Code) | | Create a new BeanCreationException.
Parameters: beanName - the name of the bean requested Parameters: msg - the detail message Parameters: cause - the root cause |
BeanCreationException | public BeanCreationException(String resourceDescription, String beanName, String msg)(Code) | | Create a new BeanCreationException.
Parameters: resourceDescription - description of the resourcethat the bean definition came from Parameters: beanName - the name of the bean requested Parameters: msg - the detail message |
BeanCreationException | public BeanCreationException(String resourceDescription, String beanName, String msg, Throwable cause)(Code) | | Create a new BeanCreationException.
Parameters: resourceDescription - description of the resourcethat the bean definition came from Parameters: beanName - the name of the bean requested Parameters: msg - the detail message Parameters: cause - the root cause |
getBeanName | public String getBeanName()(Code) | | Return the name of the bean requested, if any.
|
getResourceDescription | public String getResourceDescription()(Code) | | Return the description of the resource that the bean
definition came from, if any.
|
|
|