JEphem site
tig API
Build classes

jephem.util
Class Debug

java.lang.Object
  |
  +--jephem.util.Debug
All Implemented Interfaces:
GeneralConstants

public abstract class Debug
extends java.lang.Object
implements GeneralConstants

Contains methods report exceptions - can be used in debug and production contexts.


Field Summary
static int GUI_TRACE
          Constant to indicate that the way to trace exceptions is done through a dialog box, using internationalization.
static int STACK_TRACE
          Constant to indicate that the way to trace exceptions is equivalent to printStackTrace() - default mode.
 
Fields inherited from interface tig.GeneralConstants
BLANK, FS, LS, NO_SPECIF, SPACE
 
Constructor Summary
Debug()
           
 
Method Summary
static void sendError(java.lang.Exception e)
          Traces an exception in a text area of an autonom frame.
static void traceError(java.lang.Exception e)
          Traces an exception in a text area of an autonom frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GUI_TRACE

public static final int GUI_TRACE
Constant to indicate that the way to trace exceptions is done through a dialog box, using internationalization.

See Also:
Constant Field Values

STACK_TRACE

public static final int STACK_TRACE
Constant to indicate that the way to trace exceptions is equivalent to printStackTrace() - default mode.

See Also:
Constant Field Values
Constructor Detail

Debug

public Debug()
Method Detail

sendError

public static void sendError(java.lang.Exception e)
Traces an exception in a text area of an autonom frame.

Parameters:
e - The exception being thrown.

traceError

public static void traceError(java.lang.Exception e)
Traces an exception in a text area of an autonom frame.

Parameters:
e - The exception being thrown.

JEphem site
tig API
Build classes