xrel
Class XreError
java.lang.Object
|
+--xrel.XreError
- public final class XreError
- extends java.lang.Object
An error class.
XreError.showbug_and_exit(..) replaces everywhere in the code the
following rows:
- System.err.println("internal bug: ...");
- System.exit(1);
The function showerror_and_exit is as the previous one; what it changes
is the prefix.
I won't use exceptions, they're don't seem practical to me
(not how they're deployed under Java).
- Author:
- Fabrizio Bisi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XreError
public XreError()
showbug_and_exit
public static void showbug_and_exit(java.lang.String msg)
showerror_and_exit
public static void showerror_and_exit(java.lang.String msg)