com.interface21.beans
Class BeansException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.interface21.core.NestedRuntimeException
                          |
                          +--com.interface21.beans.BeansException
All Implemented Interfaces:
HasRootCause, java.io.Serializable
Direct Known Subclasses:
BeanDefinitionStoreException, BeanNotOfRequiredTypeException, FatalBeanException, InvalidPropertyValuesException, NoSuchBeanDefinitionException, NotWritablePropertyException, PropertyAccessException, PropertyVetoExceptionsException

public abstract class BeansException
extends NestedRuntimeException

Abstract superclass for all exceptions thrown in the beans package and subpackages. Note that this is a runtime (unchecked) exception. Beans exceptions are usually fatal; there is no reason for them to be checked.

Author:
Rod Johnson
See Also:
Serialized Form

Constructor Summary
BeansException(java.lang.String msg)
          Constructs an BeansException with the specified message and no root cause.
BeansException(java.lang.String msg, java.lang.Throwable t)
          Constructs an BeansException with the specified message and root cause.
 
Methods inherited from class com.interface21.core.NestedRuntimeException
getMessage, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeansException

public BeansException(java.lang.String msg,
                      java.lang.Throwable t)
Constructs an BeansException with the specified message and root cause.
Parameters:
msg - the detail message.
t - the root cause

BeansException

public BeansException(java.lang.String msg)
Constructs an BeansException with the specified message and no root cause.
Parameters:
msg - the detail message.


Rod Johnson and Spring contributors 2001-2003.