org.springframework.beans.factory
Class BeanIsAbstractException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.beans.BeansException
                      extended by org.springframework.beans.FatalBeanException
                          extended by org.springframework.beans.factory.BeanCreationException
                              extended by org.springframework.beans.factory.BeanIsAbstractException
All Implemented Interfaces:
Serializable

public class BeanIsAbstractException
extends BeanCreationException

Exception thrown when a bean instance has been requested for a bean definition which has been marked as abstract.

Since:
1.1
Author:
Juergen Hoeller
See Also:
AbstractBeanDefinition.setAbstract(boolean), Serialized Form

Constructor Summary
BeanIsAbstractException(String beanName)
          Create a new BeanIsAbstractException.
 
Method Summary
 
Methods inherited from class org.springframework.beans.factory.BeanCreationException
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString
 
Methods inherited from class org.springframework.beans.BeansException
equals, hashCode
 
Methods inherited from class org.springframework.core.NestedRuntimeException
getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanIsAbstractException

public BeanIsAbstractException(String beanName)
Create a new BeanIsAbstractException.

Parameters:
beanName - the name of the bean requested