gate.persist
Class PersistenceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bygate.util.GateException
              extended bygate.persist.PersistenceException
All Implemented Interfaces:
Serializable

public class PersistenceException
extends GateException

This exception indicates failure during persistence operations.

See Also:
Serialized Form

Field Summary
private static boolean DEBUG
          Debug flag
(package private)  Exception exception
           
 
Fields inherited from class gate.util.GateException
e
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
PersistenceException()
          Default construction
PersistenceException(Exception e)
          Construction from exception
PersistenceException(String s)
          Construction from string
 
Method Summary
 void printStackTrace()
          Overridden so we can print the enclosed exception's stacktrace too.
 void printStackTrace(PrintStream s)
          Overridden so we can print the enclosed exception's stacktrace too.
 void printStackTrace(PrintWriter s)
          Overridden so we can print the enclosed exception's stacktrace too.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG

private static final boolean DEBUG
Debug flag

See Also:
Constant Field Values

exception

Exception exception
Constructor Detail

PersistenceException

public PersistenceException()
Default construction


PersistenceException

public PersistenceException(String s)
Construction from string


PersistenceException

public PersistenceException(Exception e)
Construction from exception

Method Detail

printStackTrace

public void printStackTrace()
Overridden so we can print the enclosed exception's stacktrace too.

Overrides:
printStackTrace in class GateException

printStackTrace

public void printStackTrace(PrintStream s)
Overridden so we can print the enclosed exception's stacktrace too.

Overrides:
printStackTrace in class GateException

printStackTrace

public void printStackTrace(PrintWriter s)
Overridden so we can print the enclosed exception's stacktrace too.