phelps

Class Utility

public class Utility extends Object

Various funtions that should be part of Java, but aren't.
Method Summary
static voiderror(String msg)
Print message to System.err, exit via System.exit(1).
static voidwarning(String msg)
For bad situations that system can fix, it thinks.

Method Detail

error

public static void error(String msg)
Print message to System.err, exit via System.exit(1). deprecated by Java 1.4 logging

warning

public static void warning(String msg)
For bad situations that system can fix, it thinks. Print message to System.err, but keep running. deprecated by Java 1.4 logging