类的使用
org.springframework.beans.FatalBeanException
使用FatalBeanException的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.beans.factory The core package implementing Spring's lightweight Inversion of Control (IoC) container.org.springframework.beans.factory.parsing Support infrastructure for bean definition parsing.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.factory.xml Contains an abstract XML-basedBeanFactory
implementation, including a standard "spring-beans" XSD.org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.beans中FatalBeanException的使用
org.springframework.beans中FatalBeanException的子类 修饰符和类型 类 说明 class
BeanInstantiationException
Exception thrown when instantiation of a bean failed.class
InvalidPropertyException
Exception thrown when referring to an invalid bean property.class
NotReadablePropertyException
Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.class
NotWritablePropertyException
Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method).class
NullValueInNestedPathException
Exception thrown when navigation of a valid nested property path encounters a NullPointerException.org.springframework.beans.factory中FatalBeanException的使用
org.springframework.beans.factory中FatalBeanException的子类 修饰符和类型 类 说明 class
BeanCreationException
Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.class
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).class
BeanCurrentlyInCreationException
Exception thrown in case of a reference to a bean that's currently in creation.class
BeanDefinitionStoreException
Exception thrown when a BeanFactory encounters an invalid bean definition: e.g. in case of incomplete or contradictory bean metadata.class
BeanExpressionException
Exception that indicates an expression evaluation attempt having failed.class
BeanInitializationException
Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails.class
BeanIsAbstractException
Exception thrown when a bean instance has been requested for a bean definition which has been marked as abstract.class
CannotLoadBeanClassException
Exception thrown when the BeanFactory cannot load the specified class of a given bean.class
FactoryBeanNotInitializedException
Exception to be thrown from a FactoryBean'sgetObject()
method if the bean is not fully initialized yet, for example because it is involved in a circular reference.class
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.org.springframework.beans.factory.parsing中FatalBeanException的使用
org.springframework.beans.factory.parsing中FatalBeanException的子类 修饰符和类型 类 说明 class
BeanDefinitionParsingException
Exception thrown when a bean definition reader encounters an error during the parsing process.org.springframework.beans.factory.support中FatalBeanException的使用
org.springframework.beans.factory.support中FatalBeanException的子类 修饰符和类型 类 说明 class
BeanDefinitionOverrideException
Subclass ofBeanDefinitionStoreException
indicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()
isfalse
.class
BeanDefinitionValidationException
Exception thrown when the validation of a bean definition failed.org.springframework.beans.factory.xml中FatalBeanException的使用
org.springframework.beans.factory.xml中FatalBeanException的子类 修饰符和类型 类 说明 class
XmlBeanDefinitionStoreException
XML-specific BeanDefinitionStoreException subclass that wraps aSAXException
, typically aSAXParseException
which contains information about the error location.org.springframework.context中FatalBeanException的使用
org.springframework.context中FatalBeanException的子类 修饰符和类型 类 说明 class
ApplicationContextException
Exception thrown during application context initialization.