1 | int result = showErrorDialog(MailResourceLoader.getString(↵ | | 1 | int result = showErrorDialog(MailResourceLoader.getString(↵
|
2 | "dialog", "error", "ssl_handshake_error")↵ | | 2 | "dialog", "error", "ssl_handshake_error")↵
|
3 | + ": "↵ | | 3 | + ": "↵
|
4 | + e.getLocalizedMessage()↵ | | 4 | + e.getLocalizedMessage()↵
|
5 | + "\n"↵ | | 5 | + "\n"↵
|
6 | + MailResourceLoader.getString("dialog", "error",↵ | | 6 | + MailResourceLoader.getString("dialog", "error",↵
|
7 | "ssl_turn_off"));↵ | | 7 | "ssl_turn_off"));↵
|
|
8 | if (result == JOptionPane.CANCEL_OPTION) {↵ | | 8 | if (result == JOptionPane.CANCEL_OPTION) {↵
|
9 | throw new CommandCancelledException();↵ | | 9 | throw new CommandCancelledException();↵
|
10 | }↵ | | 10 | }↵
|
|
11 | // turn off SSL for the future↵ | | 11 | // turn off SSL for the future↵
|
12 | popItem.setBoolean("enable_ssl", false); | | 12 | popItem.setBoolean("enable_ssl", false);
|