| org.springframework.beans.FatalBeanException org.springframework.beans.factory.BeanDefinitionStoreException
All known Subclasses: org.springframework.beans.factory.parsing.BeanDefinitionParsingException, org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException,
BeanDefinitionStoreException | public class BeanDefinitionStoreException extends FatalBeanException (Code) | | Exception thrown when a BeanFactory encounters an internal error, and
its definitions are invalid: for example, if an XML document containing
bean definitions isn't well-formed.
author: Rod Johnson author: Juergen Hoeller author: Rob Harrop |
Constructor Summary | |
public | BeanDefinitionStoreException(String msg) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(String msg, Throwable cause) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(String resourceDescription, String msg) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(String resourceDescription, String msg, Throwable cause) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(String resourceDescription, String beanName, String msg) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(String resourceDescription, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg) Create a new BeanDefinitionStoreException. | public | BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg, Throwable cause) Create a new BeanDefinitionStoreException. |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String msg)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: msg - the detail message (used as exception message as-is) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String msg, Throwable cause)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: msg - the detail message (used as exception message as-is) Parameters: cause - the root cause (may be null ) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String resourceDescription, String msg)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: resourceDescription - description of the resource that the bean definition came from Parameters: msg - the detail message (used as exception message as-is) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String resourceDescription, String msg, Throwable cause)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: resourceDescription - description of the resource that the bean definition came from Parameters: msg - the detail message (used as exception message as-is) Parameters: cause - the root cause (may be null ) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String resourceDescription, String beanName, String msg)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: resourceDescription - description of the resource that the bean definition came from Parameters: beanName - the name of the bean requested Parameters: msg - the detail message (appended to an introductory message that indicatesthe resource and the name of the bean) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(String resourceDescription, String beanName, String msg, Throwable cause)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: resourceDescription - description of the resource that the bean definition came from Parameters: beanName - the name of the bean requested Parameters: msg - the detail message (appended to an introductory message that indicatesthe resource and the name of the bean) Parameters: cause - the root cause (may be null ) |
BeanDefinitionStoreException | public BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg)(Code) | | Create a new BeanDefinitionStoreException.
Parameters: documentLocation - descriptor of the resource location that the bean definition came from Parameters: beanName - the name of the bean requested Parameters: msg - the detail message (appended to an introductory message that indicatesthe resource and the name of the bean) See Also: BeanDefinitionStoreException.BeanDefinitionStoreException(String,String,String) |
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.
|
|
|