public class BeanDefinitionStoreException extends FatalBeanException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
contains, getMessage, getMostSpecificCause, getRootCause
public BeanDefinitionStoreException(java.lang.String msg)
msg
- the detail message (used as exception message as-is)public BeanDefinitionStoreException(java.lang.String msg, @Nullable java.lang.Throwable cause)
msg
- the detail message (used as exception message as-is)cause
- the root cause (may be null
)public BeanDefinitionStoreException(@Nullable 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(@Nullable java.lang.String resourceDescription, java.lang.String msg, @Nullable 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(@Nullable 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(@Nullable java.lang.String resourceDescription, java.lang.String beanName, java.lang.String msg, @Nullable 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
)