gate.persist
Class PersistenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gate.util.GateException
              extended by gate.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
           
 
Constructor Summary
PersistenceException()
          Default construction
PersistenceException(Exception e)
          Construction from exception
PersistenceException(String s)
          Construction from string
PersistenceException(String s, Exception e)
          Construction from both string and exception
 
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


PersistenceException

public PersistenceException(String s,
                            Exception e)
Construction from both string and exception

Method Detail

printStackTrace

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

Overrides:
printStackTrace in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable

printStackTrace

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

Overrides:
printStackTrace in class Throwable