public class CannotLoadBeanClassException extends FatalBeanException
| 构造器和说明 |
|---|
CannotLoadBeanClassException(String resourceDescription,
String beanName,
String beanClassName,
ClassNotFoundException cause)
Create a new CannotLoadBeanClassException.
|
CannotLoadBeanClassException(String resourceDescription,
String beanName,
String beanClassName,
LinkageError cause)
Create a new CannotLoadBeanClassException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBeanClassName()
Return the name of the class we were trying to load.
|
String |
getBeanName()
Return the name of the bean requested.
|
String |
getResourceDescription()
Return the description of the resource that the bean
definition came from.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic CannotLoadBeanClassException(@Nullable
String resourceDescription,
String beanName,
@Nullable
String beanClassName,
ClassNotFoundException cause)
resourceDescription - description of the resource
that the bean definition came frombeanName - the name of the bean requestedbeanClassName - the name of the bean classcause - the root causepublic CannotLoadBeanClassException(@Nullable
String resourceDescription,
String beanName,
@Nullable
String beanClassName,
LinkageError cause)
resourceDescription - description of the resource
that the bean definition came frombeanName - the name of the bean requestedbeanClassName - the name of the bean classcause - the root cause@Nullable public String getResourceDescription()
public String getBeanName()
@Nullable public String getBeanClassName()