Expresso 5-6

com.jcorporate.expresso.kernel.exception
Class ExpressoRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.jcorporate.expresso.kernel.exception.ChainedException
              extended bycom.jcorporate.expresso.kernel.exception.ExpressoRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigChangeException, ConfigurationException, ContainerVetoException, InstallationException

public class ExpressoRuntimeException
extends ChainedException

ExpressoRuntimeException is the base class for most wrapper exceptions that the Expresso component hierarchy will throw on component level exceptions

Version:
$Revision: 1.4 $ on $Date: 2004/11/17 20:48:16 $
Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
ExpressoRuntimeException()
          Default Constructor with no message
ExpressoRuntimeException(String s)
          Constructor that stores a message with it
ExpressoRuntimeException(String s, Throwable t)
          Constructor for throwing an exception that contains a message and another Throwable exception buried within it.
ExpressoRuntimeException(Throwable t)
          Constructor for thowing a wrapped, nested Exception object
 
Methods inherited from class com.jcorporate.expresso.kernel.exception.ChainedException
getErrorNumber, getMessage, getNested, omitPackages, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpressoRuntimeException

public ExpressoRuntimeException()
Default Constructor with no message


ExpressoRuntimeException

public ExpressoRuntimeException(String s)
Constructor that stores a message with it

Parameters:
s - The Exception message

ExpressoRuntimeException

public ExpressoRuntimeException(String s,
                                Throwable t)
Constructor for throwing an exception that contains a message and another Throwable exception buried within it. This allows for wrapping of varioua exceptions for uniform API.

Parameters:
s - The message String
t - java.lang.Throwable, presumably an exception you've already caught in another block of code.

ExpressoRuntimeException

public ExpressoRuntimeException(Throwable t)
Constructor for thowing a wrapped, nested Exception object

Parameters:
t - java.lang.Throwable, presumably an exception you've already caught in another block of code.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.