|
|||||||||
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 invalid bean definition: e.g. in case of incomplete or contradictory bean metadata.
Field Summary | |
---|---|
private java.lang.String |
beanName
|
private java.lang.String |
resourceDescription
|
Constructor Summary | |
---|---|
BeanDefinitionStoreException(java.lang.String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(java.lang.String resourceDescription,
java.lang.String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String msg)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String msg,
java.lang.Throwable cause)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(java.lang.String resourceDescription,
java.lang.String msg,
java.lang.Throwable cause)
Create a new BeanDefinitionStoreException. |
|
BeanDefinitionStoreException(java.lang.String msg,
java.lang.Throwable cause)
Create a new BeanDefinitionStoreException. |
Method Summary | |
---|---|
java.lang.String |
getBeanName()
Return the name of the bean requested, if any. |
java.lang.String |
getResourceDescription()
Return the description of the resource that the bean definition came from, if any. |
Methods inherited from class org.springframework.beans.BeansException |
---|
equals, hashCode |
Methods inherited from class org.springframework.core.NestedRuntimeException |
---|
contains, getMessage, getMostSpecificCause, getRootCause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String resourceDescription
private java.lang.String beanName
Constructor Detail |
---|
public BeanDefinitionStoreException(java.lang.String msg)
msg
- the detail message (used as exception message as-is)public BeanDefinitionStoreException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail message (used as exception message as-is)cause
- the root cause (may be null
)public BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String msg)
resourceDescription
- description of the resource that the bean definition came frommsg
- the detail message (used as exception message as-is)public BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String msg, java.lang.Throwable cause)
resourceDescription
- description of the resource that the bean definition came frommsg
- the detail message (used as exception message as-is)cause
- the root cause (may be null
)public BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg)
resourceDescription
- description of the resource that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail message (appended to an introductory message that indicates
the resource and the name of the bean)public BeanDefinitionStoreException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg, java.lang.Throwable cause)
resourceDescription
- description of the resource that the bean definition came frombeanName
- the name of the bean requestedmsg
- the detail message (appended to an introductory message that indicates
the resource and the name of the bean)cause
- the root cause (may be null
)Method Detail |
---|
public java.lang.String getResourceDescription()
public java.lang.String getBeanName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |