sqlg2.db
Class SimpleDebug

java.lang.Object
  extended by sqlg2.db.Debug
      extended by sqlg2.db.SimpleDebug

public class SimpleDebug
extends Debug

Simple implementation for Debug - outputs to console.


Field Summary
 
Fields inherited from class sqlg2.db.Debug
err, out
 
Constructor Summary
SimpleDebug()
           
 
Method Summary
protected  void close()
          Releases all resources (open files etc).
 void doError(java.lang.String s)
          Outputs error message.
protected  java.io.PrintWriter doGetWriter()
           
 void doPrintStackTrace(java.lang.Throwable th)
          Outputs error stacktrace.
 void doTrace(java.lang.String s)
          Outputs debug trace.
 
Methods inherited from class sqlg2.db.Debug
error, getDebug, getWriter, printStackTrace, setDebug, setStdStreams, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDebug

public SimpleDebug()
Method Detail

doTrace

public void doTrace(java.lang.String s)
Description copied from class: Debug
Outputs debug trace.

Specified by:
doTrace in class Debug

doError

public void doError(java.lang.String s)
Description copied from class: Debug
Outputs error message.

Specified by:
doError in class Debug

doPrintStackTrace

public void doPrintStackTrace(java.lang.Throwable th)
Description copied from class: Debug
Outputs error stacktrace.

Specified by:
doPrintStackTrace in class Debug

doGetWriter

protected java.io.PrintWriter doGetWriter()
Specified by:
doGetWriter in class Debug

close

protected void close()
Description copied from class: Debug
Releases all resources (open files etc).

Specified by:
close in class Debug