haifa.global
Class DoError

java.lang.Object
  |
  +--haifa.global.DoError

public class DoError
extends java.lang.Object

Has several static methods that perform generic operations in case of program error.


Constructor Summary
DoError()
           
 
Method Summary
static void printAndQuit(java.lang.String msg)
          Prints msg to screen and exits application.
static void printAndQuit(java.lang.String location, java.lang.Exception e)
          Prints location and excpeion and exits application.
static void printAndQuit(java.lang.String location, java.lang.Exception e, java.lang.Object moreInfo)
          Prints location and excpeion and also additional info and exits application.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

DoError

public DoError()
Method Detail

printAndQuit

public static void printAndQuit(java.lang.String msg)
Prints msg to screen and exits application.

printAndQuit

public static void printAndQuit(java.lang.String location,
                                java.lang.Exception e)
Prints location and excpeion and exits application.

printAndQuit

public static void printAndQuit(java.lang.String location,
                                java.lang.Exception e,
                                java.lang.Object moreInfo)
Prints location and excpeion and also additional info and exits application.