Home » Spring-Framework-090522 » org.springframework » beans » factory » [javadoc | source]
org.springframework.beans.factory
public class: CannotLoadBeanClassException [javadoc | source]
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

All Implemented Interfaces:
    Serializable

Exception thrown when the BeanFactory cannot load the specified class of a given bean.
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public CannotLoadBeanClassException(String resourceDescription,
    String beanName,
    String beanClassName,
    ClassNotFoundException cause) 
    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) 
    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
Method from org.springframework.beans.factory.CannotLoadBeanClassException Summary:
getBeanClassName,   getBeanName,   getResourceDescription
Methods from org.springframework.beans.BeansException:
equals,   hashCode
Methods from org.springframework.core.NestedRuntimeException:
contains,   getMessage,   getMostSpecificCause,   getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.CannotLoadBeanClassException Detail:
 public String getBeanClassName() 
    Return the name of the class we were trying to load.
 public String getBeanName() 
    Return the name of the bean requested.
 public String getResourceDescription() 
    Return the description of the resource that the bean definition came from.