diff --git a/src/Primary_Extension/org/lobobrowser/primary/ext/ExtensionImpl.java b/src/Primary_Extension/org/lobobrowser/primary/ext/ExtensionImpl.java
index 2a3a3d68..25ee59f5 100644
--- a/src/Primary_Extension/org/lobobrowser/primary/ext/ExtensionImpl.java
+++ b/src/Primary_Extension/org/lobobrowser/primary/ext/ExtensionImpl.java
@@ -134,28 +134,26 @@ static String getErrorHtml(final ClientletResponse response, final Throwable exc
final Writer swriter = new StringWriter();
final PrintWriter writer = new PrintWriter(swriter);
writer.println("
");
- writer.println("");
+ writer.println("");
writer.println(" An error occurred trying to process a request.");
writer.println("
");
if (url != null) {
- writer.println(" - URL:
");
+ writer.println(" URL:
");
writer.println(" - " + getErrorUrlText(url, method) + "
");
}
- writer.println(" - Exception:
");
- writer.println(" - " + exception.getClass().getName() + "
");
- writer.println(" - Meaning:
");
- writer.println(" - " + getExceptionMeaning(url, exception) + "
");
- writer.println(" - Message:
");
- writer.println(" - " + Html.textToHTML(exception.getMessage()) + "
");
+ writer.println(" Exception:
");
+ writer.println(" " + exception.getClass().getName() + "
");
+ writer.println(" Meaning
");
+ writer.println(" " + getExceptionMeaning(url, exception) + "
");
+ writer.println(" Message:
");
+ writer.println(" " + Html.textToHTML(exception.getMessage()) + "
");
writer.println("
");
writer.println("");
if (PlatformInit.getInstance().debugOn) {
- writer.println("");
- writer.println(" ");
- writer.println(" Details");
- writer.println(" |
");
- writer.println(" ");
+ writer.println("");
+ writer.println(" Details | ");
+ writer.println(" ");
final StringWriter sw = new StringWriter();
final PrintWriter pw = new PrintWriter(sw);
@@ -220,6 +218,9 @@ private static String getExceptionMeaning(final java.net.URL url, final Throwabl
}
if (cause instanceof java.net.MalformedURLException) {
return "A URL or URI was not formatted correctly.";
+ } else if (cause instanceof javax.net.ssl.SSLHandshakeException) {
+ return " This is most likely caused due to a JVM with crippled cipher suites. " +
+ "We are actively working on this. Please see https://github.com/UprootLabs/gngr/wiki/SSL-Handshake-Failures ";
} else if (cause instanceof java.net.UnknownHostException) {
return "The host named '" + ((java.net.UnknownHostException) cause).getMessage()
+ "' could not be found by the Domain Name Service (DNS).";
| |