public class CannotLoadBeanClassException extends FatalBeanException
| Constructor and Description | 
|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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