类 FatalBeanException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.beans.BeansException
- org.springframework.beans.FatalBeanException
- 所有已实现的接口:
Serializable
- 直接已知子类:
ApplicationContextException
,BeanCreationException
,BeanDefinitionStoreException
,BeanDefinitionValidationException
,BeanExpressionException
,BeanInitializationException
,BeanInstantiationException
,BootstrapException
,CannotLoadBeanClassException
,FactoryBeanNotInitializedException
,InvalidPropertyException
public class FatalBeanException extends BeansException
Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g. bad class or field.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 FatalBeanException(String msg)
Create a new FatalBeanException with the specified message.FatalBeanException(String msg, Throwable cause)
Create a new FatalBeanException with the specified message and root cause.
方法概要
从类继承的方法 org.springframework.beans.BeansException
equals, hashCode
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
FatalBeanException
public FatalBeanException(String msg)
Create a new FatalBeanException with the specified message.- 参数:
msg
- the detail message
FatalBeanException
public FatalBeanException(String msg, Throwable cause)
Create a new FatalBeanException with the specified message and root cause.- 参数:
msg
- the detail messagecause
- the root cause