private static void showDialog(Exception exception) {
   ExceptionPanel p = ExceptionPanel.create(exception);
   DialogDisplayer.getDefault()
       .notify(p.createDialogDescriptor(exception.getClass().getSimpleName()));
 }