类 ApplicationContextException
- 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.context.ApplicationContextException
- 所有已实现的接口:
Serializable
public class ApplicationContextException extends FatalBeanException
Exception thrown during application context initialization.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ApplicationContextException(String msg)
Create a newApplicationContextException
with the specified detail message and no root cause.ApplicationContextException(String msg, Throwable cause)
Create a newApplicationContextException
with the specified detail message and the given root cause.
方法概要
从类继承的方法 org.springframework.beans.BeansException
equals, hashCode
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
ApplicationContextException
public ApplicationContextException(String msg)
Create a newApplicationContextException
with the specified detail message and no root cause.- 参数:
msg
- the detail message
ApplicationContextException
public ApplicationContextException(String msg, Throwable cause)
Create a newApplicationContextException
with the specified detail message and the given root cause.- 参数:
msg
- the detail messagecause
- the root cause