org.springframework.beans
Class 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
- Direct Known Subclasses:
- BootstrapException, BeanCreationException, BeanDefinitionStoreException, BeanInitializationException, NullValueInNestedPathException, ApplicationContextException
- public class FatalBeanException
- extends BeansException
Thrown on an unrecoverable problem encountered in the
beans packages or sub-packages, e.g. bad class or field.
- Author:
- Rod Johnson
- Version: $Revision: 1.3 $
Constructor Summary |
FatalBeanException(String msg) Constructs a FatalBeanException with the specified message. |
FatalBeanException(String msg, Throwable ex) Constructs a FatalBeanException with the specified message
and root cause. |
Methods inherited from class java.lang.Throwable |
printStackTrace, getStackTrace, setStackTrace, getLocalizedMessage, toString, fillInStackTrace, initCause |
Methods inherited from class java.lang.Object |
hashCode, notify, notifyAll, wait, wait, wait, getClass, equals |
FatalBeanException
public FatalBeanException(String msg)
- Constructs a
FatalBeanException
with the specified message.- Parameters:
- msg - the detail message
FatalBeanException
public FatalBeanException(String msg, Throwable ex)
- Constructs a
FatalBeanException
with the specified message
and root cause.- Parameters:
- msg - the detail message
- ex - root cause