cds.util
Class ExistenceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cds.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 |
|
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 |
exists
private boolean exists
ExistenceException
public ExistenceException(java.lang.String text,
boolean exists)
- Constructor
- Parameters:
text
- text associated with the exceptionexists
- true if the exception is throwed because the item exists
false if the exception is throwed because the item does not exist
toString
public java.lang.String toString()
getExists
public boolean getExists()