|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.Msg
Provides a uniform error message interface.
Constructor Summary | |
Msg()
|
Method Summary | |
static void |
fatal(java.lang.String msg)
Print the message and exit. |
static void |
setExitOnFatal(boolean val)
If exitOnFatal is true, fatal message will call System.exit(1) |
static void |
warn(java.lang.String msg)
Just print the message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Msg()
Method Detail |
public static void setExitOnFatal(boolean val)
public static void fatal(java.lang.String msg) throws java.lang.RuntimeException
java.lang.RuntimeException
public static void warn(java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |