hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1644087 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java
Date Tue, 09 Dec 2014 15:26:29 GMT
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 {



Mime
View raw message