You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2014/12/09 16:26:29 UTC
svn commit: r1644087 -
/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java
Author: sebb
Date: Tue Dec 9 15:26:29 2014
New Revision: 1644087
URL: http://svn.apache.org/r1644087
Log:
Javadoc
Modified:
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java?rev=1644087&r1=1644086&r2=1644087&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java Tue Dec 9 15:26:29 2014
@@ -58,6 +58,8 @@ public class SSLContexts {
* are not taken into consideration.
*
* @return the default SSL socket factory
+ * @throws SSLInitializationException if NoSuchAlgorithmException or KeyManagementException
+ * are thrown when invoking {@link SSLContext#getInstance(String)}
*/
public static SSLContext createDefault() throws SSLInitializationException {
try {
@@ -79,6 +81,7 @@ public class SSLContexts {
* {@code Default} algorithm is not available.
*
* @return default system SSL context
+ * @throws SSLInitializationException if {@link #createDefault()} throws it
*/
public static SSLContext createSystemDefault() throws SSLInitializationException {
try {