|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.BeanDefinitionStoreException
public class BeanDefinitionStoreException
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.
Constructor Summary | |
---|---|
BeanDefinitionStoreException(Resource documentLocation,
String beanName,
String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(Resource documentLocation,
String beanName,
String msg,
Throwable ex)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(String resourceDescription,
String beanName,
String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(String resourceDescription,
String beanName,
String msg,
Throwable ex)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(String msg,
Throwable ex)
Create a new BeanDefinitionStoreException. |
Method Summary | |
---|---|
String |
getBeanName()
Return the name of the bean requested, if any. |
String |
getResourceDescription()
Return the description of the resource that the bean definition came from, if any. |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, 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 |
---|
public BeanDefinitionStoreException(String msg)
msg
- the detail messagepublic BeanDefinitionStoreException(String msg, Throwable ex)
msg
- the detail messageex
- the root causepublic BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg)
documentLocation
- descriptor of the resource
location that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail messagepublic BeanDefinitionStoreException(Resource documentLocation, String beanName, String msg, Throwable ex)
documentLocation
- descriptor of the resource
location that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail messageex
- the root causepublic BeanDefinitionStoreException(String resourceDescription, String beanName, String msg)
resourceDescription
- description of the resource
that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail messagepublic BeanDefinitionStoreException(String resourceDescription, String beanName, String msg, Throwable ex)
resourceDescription
- description of the resource
that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail messageex
- the root causeMethod Detail |
---|
public String getResourceDescription()
public String getBeanName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |