public static void handleException(Exception ex) { try { throw ex; } catch (Exception e) { System.err.println("Unexpected exception : " + e); System.err.println("Error message is " + ex.getMessage()); System.err.println("*************Stack Trace ************"); e.printStackTrace(System.err); System.exit(0); }
public static void handleException(Exception ex) throws RuntimeException { System.err.println ("Unexpected internal error FIXME!! "  + ex.getMessage()); ex.printStackTrace(); throw new RuntimeException("Unexpected internal error FIXME!! "  + ex.getMessage(), ex);
	public static void handleException(Exception ex) {		try {			throw ex;		} catch (Exception e) {			System.err.println("Unexpected exception : " + e);			System.err.println("Error message is " + ex.getMessage());			System.err.println("*************Stack Trace ************");			e.printStackTrace(System.err);			System.exit(0);		}	}