updated documentation to resolve issues #523 and #561

This commit is contained in:
Jeremy Long
2016-10-28 18:58:27 -04:00
parent a12bc44ecd
commit 358367ef9e
3 changed files with 17 additions and 4 deletions

View File

@@ -152,9 +152,9 @@ public final class Downloader {
conn = null;
}
if ("Connection reset".equalsIgnoreCase(ex.getMessage())) {
final String msg = format("TLS Connection Reset%nThis is a known issue for somme JRE/JDK; please see " +
"https://github.com/jeremylong/DependencyCheck/issues/561%nUntil this issue is resolved please " +
"consider trying a different JRE/JDK.", url.toString());
final String msg = format("TLS Connection Reset%nPlease see "
+ "http://jeremylong.github.io/DependencyCheck/general/tlsfailures.html "
+ "for more information regarding how to resolve the issue.", url.toString());
LOGGER.error(msg);
throw new DownloadFailedException(msg, ex);
}