cds.util
Class ExistenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycds.util.ExistenceException
All Implemented Interfaces:
java.io.Serializable

public class ExistenceException
extends java.lang.Exception

Exception delaing with items which exist when they should not, or reversely are missing when they should exist

Version:
1.0 May 2002
Author:
Marc Wenger/CDS
See Also:
Serialized Form

Field Summary
private  boolean exists
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ExistenceException(java.lang.String text, boolean exists)
          Constructor
 
Method Summary
 boolean getExists()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exists

private boolean exists
Constructor Detail

ExistenceException

public ExistenceException(java.lang.String text,
                          boolean exists)
Constructor

Parameters:
text - text associated with the exception
exists - true if the exception is throwed because the item exists false if the exception is throwed because the item does not exist
Method Detail

toString

public java.lang.String toString()

getExists

public boolean getExists()