Class 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
Constructors Constructor Description 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.core.NestedRuntimeException
getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
Constructor Detail
BeanIsAbstractException
public BeanIsAbstractException(String beanName)
Create a new BeanIsAbstractException.- Parameters:
beanName
- the name of the bean requested