(Throwable t)
| 235 | } |
| 236 | |
| 237 | public void exception(Throwable t) { |
| 238 | StringWriter sw = new StringWriter(); |
| 239 | PrintWriter pw = new PrintWriter(sw); |
| 240 | t.printStackTrace(pw); |
| 241 | System.out.println("Exception: " + sw.toString()); |
| 242 | LogDialog ld = new LogDialog(this, "Exception!", "Exception: " + sw.toString()); |
| 243 | } |
| 244 | |
| 245 | public void error(String message) { |
| 246 | LogDialog ld = new LogDialog(this, "Error!", "Error: " + message); |