} else{ exceptionList.add(e);
else { try { logFile.createNewFile(); PrintWriter pw = new PrintWriter(new FileOutputStream(logFile)); pw.println(msg); pw.close(); } catch (IOException ohWell) {}
	static void recordBug(Exception e){		if(DEBUG){			StringBuilder msg = new StringBuilder();			msg.append(e.getClass().getName() + ": " + e.getMessage() + "\n");			for (StackTraceElement i : e.getStackTrace())				msg.append(i + "\n");			JOptionPane.showMessageDialog(null, msg);		}		else{			exceptionList.add(e);		}	}