Known Direct Subclasses
ApplicationContextException,
BeanCreationException,
BeanDefinitionStoreException,
BeanDefinitionValidationException,
BeanExpressionException,
BeanInitializationException,
BeanInstantiationException,
BootstrapException,
CannotLoadBeanClassException,
FactoryBeanNotInitializedException,
InvalidPropertyException
|
Known Indirect Subclasses
BeanCreationNotAllowedException |
Exception thrown in case of a bean being requested despite
bean creation currently not being allowed (for example, during
the shutdown phase of a bean factory). |
BeanCurrentlyInCreationException |
Exception thrown in case of a reference to a bean that's currently in creation. |
BeanDefinitionParsingException |
Exception thrown when a bean definition reader encounters an error
during the parsing process. |
BeanIsAbstractException |
Exception thrown when a bean instance has been requested for
a bean definition which has been marked as abstract. |
NotReadablePropertyException |
Exception thrown on an attempt to get the value of a property
that isn't readable, because there's no getter method. |
NotWritablePropertyException |
Exception thrown on an attempt to set the value of a property that
is not writable (typically because there is no setter method). |
NullValueInNestedPathException |
Exception thrown when navigation of a valid nested property
path encounters a NullPointerException. |
UnsatisfiedDependencyException |
Exception thrown when a bean depends on other beans or simple properties
that were not specified in the bean factory definition, although
dependency checking was enabled. |
XmlBeanDefinitionStoreException |
XML-specific BeanDefinitionStoreException subclass that wraps a
org.xml.sax.SAXException, typically a org.xml.sax.SAXParseException
which contains information about the error location. |
|
Class Overview
Thrown on an unrecoverable problem encountered in the
beans packages or sub-packages, e.g. bad class or field.
Public Constructors
public
FatalBeanException
(String msg)
Create a new FatalBeanException with the specified message.
public
FatalBeanException
(String msg, Throwable cause)
Create a new FatalBeanException with the specified message
and root cause.
Parameters
msg
| the detail message |
cause
| the root cause
|