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.
|
equals, hashCodecontains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CannotLoadBeanClassException(String resourceDescription, String beanName, 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(String resourceDescription, String beanName, 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 causepublic String getResourceDescription()
public String getBeanName()
public String getBeanClassName()