IDebug
© 1997-2001 Joseph Kiniry
© 2000-2001 KindSoftware
© 1997-1999 Caltech
All Rights Reserved

idebug.examples
Interface FrenchConstants

All Superinterfaces:
DebugConstants

public interface FrenchConstants
extends DebugConstants

FrenchConstants is an interface that collects the various constants of the debugging package including debug level ranges, standard debugging messages, etc. It is a subtype of DebugConstants and is used as an example of how to modify the semantics (customize) the debug package.

Version:
$Date: 2005-02-13 16:54:27 +0000 (Sun, 13 Feb 2005) $
Author:
Joseph R. Kiniry
See Also:
DebugConstants

Field Summary
static java.lang.String ASSERTION
           
static int ASSERTION_LEVEL
           
static java.lang.String CRITICAL
           
static int CRITICAL_LEVEL
           
static java.lang.String ERROR
           
static int ERROR_LEVEL
           
static java.lang.String ERROR_STRING
          Various messages that can be localized or otherwise customized.
static java.lang.String FAILED_ASSERTION_STRING
           
static java.lang.String FAILURE
           
static int FAILURE_LEVEL
           
static int INVALID_THREAD
           
static int LEVEL_MAX
          The maximum debug level.
static int LEVEL_MIN
          The minimum debug level.
static java.lang.String NOTICE
           
static int NOTICE_LEVEL
           
static java.lang.String WARNING
           
static int WARNING_LEVEL
           
 
Method Summary
 void initCategories(java.util.Hashtable hashtable)
           Initializes default categories of debugging facilities.
 
Methods inherited from interface idebug.DebugConstants
checkLevel
 

Field Detail

LEVEL_MIN

public static final int LEVEL_MIN
The minimum debug level.

LEVEL_MAX

public static final int LEVEL_MAX
The maximum debug level.

ERROR_STRING

public static final java.lang.String ERROR_STRING
Various messages that can be localized or otherwise customized.

FAILED_ASSERTION_STRING

public static final java.lang.String FAILED_ASSERTION_STRING

ASSERTION_LEVEL

public static final int ASSERTION_LEVEL

FAILURE_LEVEL

public static final int FAILURE_LEVEL

CRITICAL_LEVEL

public static final int CRITICAL_LEVEL

ERROR_LEVEL

public static final int ERROR_LEVEL

WARNING_LEVEL

public static final int WARNING_LEVEL

NOTICE_LEVEL

public static final int NOTICE_LEVEL

ASSERTION

public static final java.lang.String ASSERTION

FAILURE

public static final java.lang.String FAILURE

CRITICAL

public static final java.lang.String CRITICAL

ERROR

public static final java.lang.String ERROR

WARNING

public static final java.lang.String WARNING

NOTICE

public static final java.lang.String NOTICE

INVALID_THREAD

public static final int INVALID_THREAD
Method Detail

initCategories

public void initCategories(java.util.Hashtable hashtable)
Description copied from interface: DebugConstants

Initializes default categories of debugging facilities.

Specified by:
initCategories in interface DebugConstants
Following copied from interface: idebug.DebugConstants
Parameters:
hashtable - is the hashtable to initialize.

IDebug
© 1997-2001 Joseph Kiniry
© 2000-2001 KindSoftware
© 1997-1999 Caltech
All Rights Reserved