All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class macondo.util.util

macondo.util.util

public final class util
A class containing some useful functions


Method Index

 o assert(boolean, String)
Assertion.
 o debug(String)
Prints a debugging message on standard output.
 o err(String)
Prints an error message on standard error.
 o exc(Exception)
Simple debugging code execute every time an exception is raised.

Methods

 o assert
 public static void assert(boolean expr,
                           String msg)
Assertion. Tests a boolean expression and exits if it is false.

Parameters:
expr - the boolean expression to test.
msg - description of the assertion.
 o exc
 public static void exc(Exception e)
Simple debugging code execute every time an exception is raised.

Parameters:
e - the exception.
 o debug
 public static void debug(String s)
Prints a debugging message on standard output.

Parameters:
s - the debugging message.
 o err
 public static void err(String s)
Prints an error message on standard error.

Parameters:
s - the error message.

All Packages  Class Hierarchy  This Package  Previous  Next  Index