public class CannotLoadBeanClassException extends FatalBeanException
Constructor and Description |
---|
CannotLoadBeanClassException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String beanClassName,
java.lang.ClassNotFoundException cause)
Create a new CannotLoadBeanClassException.
|
CannotLoadBeanClassException(java.lang.String resourceDescription,
java.lang.String beanName,
java.lang.String beanClassName,
java.lang.LinkageError cause)
Create a new CannotLoadBeanClassException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBeanClassName()
Return the name of the class we were trying to load.
|
java.lang.String |
getBeanName()
Return the name of the bean requested.
|
java.lang.String |
getResourceDescription()
Return the description of the resource that the bean
definition came from.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
public CannotLoadBeanClassException(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String beanClassName, java.lang.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(java.lang.String resourceDescription, java.lang.String beanName, java.lang.String beanClassName, java.lang.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 java.lang.String getResourceDescription()
public java.lang.String getBeanName()
public java.lang.String getBeanClassName()