public class BeanDefinitionStoreException extends FatalBeanException
| 构造器和说明 |
|---|
BeanDefinitionStoreException(String msg)
Create a new BeanDefinitionStoreException.
|
BeanDefinitionStoreException(String resourceDescription,
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 cause)
Create a new BeanDefinitionStoreException.
|
BeanDefinitionStoreException(String resourceDescription,
String msg,
Throwable cause)
Create a new BeanDefinitionStoreException.
|
BeanDefinitionStoreException(String msg,
Throwable cause)
Create a new BeanDefinitionStoreException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBeanName()
Return the name of the bean, if available.
|
String |
getResourceDescription()
Return the description of the resource that the bean definition came from, if available.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic BeanDefinitionStoreException(String msg)
msg - the detail message (used as exception message as-is)public BeanDefinitionStoreException(String msg, @Nullable Throwable cause)
msg - the detail message (used as exception message as-is)cause - the root cause (may be null)public BeanDefinitionStoreException(@Nullable
String resourceDescription,
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
String resourceDescription,
String msg,
@Nullable
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
String resourceDescription,
String beanName,
String msg)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the beanmsg - the detail message (appended to an introductory message that indicates
the resource and the name of the bean)public BeanDefinitionStoreException(@Nullable
String resourceDescription,
String beanName,
String msg,
@Nullable
Throwable cause)
resourceDescription - description of the resource that the bean definition came frombeanName - the name of the beanmsg - 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)