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:

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

Constructor Summary
XreError()
           
 
Method Summary
static void showbug_and_exit(java.lang.String msg)
           
static void showerror_and_exit(java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XreError

public XreError()
Method Detail

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)