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.
|
contains, getMessage, getMostSpecificCause, getRootCause
public CannotLoadBeanClassException(@Nullable java.lang.String resourceDescription, java.lang.String beanName, @Nullable 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(@Nullable java.lang.String resourceDescription, java.lang.String beanName, @Nullable 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 cause@Nullable public java.lang.String getResourceDescription()
public java.lang.String getBeanName()
@Nullable public java.lang.String getBeanClassName()