org.springframework.context
Class ApplicationContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.beans.BeansException
                      extended by org.springframework.beans.FatalBeanException
                          extended by org.springframework.context.ApplicationContextException
All Implemented Interfaces:
Serializable

public class ApplicationContextException
extends FatalBeanException

Exception thrown during application context initialization.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
ApplicationContextException(String msg)
          Create a new ApplicationContextException with the specified detail message and no root cause.
ApplicationContextException(String msg, Throwable cause)
          Create a new ApplicationContextException with the specified detail message and the given root cause.
 
Method Summary
 
Methods inherited from class org.springframework.beans.BeansException
equals, hashCode
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationContextException

public ApplicationContextException(String msg)
Create a new ApplicationContextException with the specified detail message and no root cause.

Parameters:
msg - the detail message

ApplicationContextException

public ApplicationContextException(String msg,
                                   Throwable cause)
Create a new ApplicationContextException with the specified detail message and the given root cause.

Parameters:
msg - the detail message
cause - the root cause