类 BootstrapException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.beans.BeansException
- org.springframework.beans.FatalBeanException
- org.springframework.beans.factory.access.BootstrapException
- 所有已实现的接口:
Serializable
public class BootstrapException extends FatalBeanException
Exception thrown if a bean factory could not be loaded by a bootstrap class.- 从以下版本开始:
- 02.12.2002
- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 BootstrapException(String msg)
Create a new BootstrapException with the specified message.BootstrapException(String msg, Throwable cause)
Create a new BootstrapException with the specified message and root cause.
方法概要
从类继承的方法 org.springframework.beans.BeansException
equals, hashCode
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
BootstrapException
public BootstrapException(String msg)
Create a new BootstrapException with the specified message.- 参数:
msg
- the detail message
BootstrapException
public BootstrapException(String msg, Throwable cause)
Create a new BootstrapException with the specified message and root cause.- 参数:
msg
- the detail messagecause
- the root cause