Package org.springframework.context
Class 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
- All Implemented Interfaces:
Serializable
Exception thrown during application context initialization.
- Author:
- Rod Johnson
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate 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. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApplicationContextException
Create a newApplicationContextException
with the specified detail message and no root cause.- Parameters:
msg
- the detail message
-
ApplicationContextException
Create a newApplicationContextException
with the specified detail message and the given root cause.- Parameters:
msg
- the detail messagecause
- the root cause
-