public class

CannotLoadBeanClassException

extends FatalBeanException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.beans.BeansException
             ↳ org.springframework.beans.FatalBeanException
               ↳ org.springframework.beans.factory.CannotLoadBeanClassException

Class Overview

Exception thrown when the BeanFactory cannot load the specified class of a given bean.

Summary

Public Constructors
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.
Public Methods
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.
[Expand]
Inherited Methods
From class org.springframework.beans.BeansException
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public CannotLoadBeanClassException (String resourceDescription, String beanName, String beanClassName, ClassNotFoundException cause)

Also: SpringBeans

Create a new CannotLoadBeanClassException.

Parameters
resourceDescription description of the resource that the bean definition came from
beanName the name of the bean requested
beanClassName the name of the bean class
cause the root cause

public CannotLoadBeanClassException (String resourceDescription, String beanName, String beanClassName, LinkageError cause)

Also: SpringBeans

Create a new CannotLoadBeanClassException.

Parameters
resourceDescription description of the resource that the bean definition came from
beanName the name of the bean requested
beanClassName the name of the bean class
cause the root cause

Public Methods

public String getBeanClassName ()

Also: SpringBeans

Return the name of the class we were trying to load.

public String getBeanName ()

Also: SpringBeans

Return the name of the bean requested.

public String getResourceDescription ()

Also: SpringBeans

Return the description of the resource that the bean definition came from.