Overridden so we can syntax highlight the Java exception displayed. @param owner The dialog that threw the Exception. @param t The exception/throwable that occurred. @param desc A short description of the error. This can be null .
(Dialog owner, Throwable t, String desc)
| 375 | * <code>null</code>. |
| 376 | */ |
| 377 | @Override |
| 378 | public void displayException(Dialog owner, Throwable t, String desc) { |
| 379 | ExceptionDialog ed = new ExceptionDialog(owner, t); |
| 380 | if (desc!=null) { |
| 381 | ed.setDescription(desc); |
| 382 | } |
| 383 | ed.setLocationRelativeTo(owner); |
| 384 | ed.setTitle(getString("ErrorDialogTitle")); |
| 385 | ed.setVisible(true); |
| 386 | } |
| 387 | |
| 388 | |
| 389 | /** |
no test coverage detected