Expresso 5-6

com.jcorporate.expresso.kernel.exception
Class ContainerVetoException

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
                  extended bycom.jcorporate.expresso.kernel.exception.ContainerVetoException
All Implemented Interfaces:
Serializable

public class ContainerVetoException
extends ExpressoRuntimeException

This Exception is for the extremely rare case that the container you are a part of is about to install another component that would completely disrupt your own operation. This shouldn't be used frivolously, but throwing it will block the other component from being added

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

Constructor Summary
ContainerVetoException()
          Default Constructor with no ContainerVetoException
ContainerVetoException(String s)
          Constructor that stores a message with it
ContainerVetoException(String s, Throwable t)
          Constructor for throwing an exception that contains a message and another Throwable exception buried within it.
ContainerVetoException(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

ContainerVetoException

public ContainerVetoException()
Default Constructor with no ContainerVetoException


ContainerVetoException

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

Parameters:
s - The Exception message

ContainerVetoException

public ContainerVetoException(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.

ContainerVetoException

public ContainerVetoException(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.