jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1782599 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java
Date Sat, 11 Feb 2017 12:59:45 GMT
Author: fschumacher
Date: Sat Feb 11 12:59:45 2017
New Revision: 1782599

URL: http://svn.apache.org/viewvc?rev=1782599&view=rev
Log:
javadoc: add description to throws tags.

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java?rev=1782599&r1=1782598&r2=1782599&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/LazySchemeSocketFactory.java
Sat Feb 11 12:59:45 2017
@@ -71,7 +71,7 @@ public final class LazySchemeSocketFacto
     /**
      * @param params {@link HttpParams}
      * @return the socket
-     * @throws IOException
+     * @throws IOException when the socket creation fails
      * @see org.apache.http.conn.scheme.SchemeSocketFactory#createSocket(org.apache.http.params.HttpParams)
      */
     @Override
@@ -85,9 +85,9 @@ public final class LazySchemeSocketFacto
      * @param localAddress {@link InetSocketAddress}
      * @param params {@link HttpParams}
      * @return the socket
-     * @throws IOException
-     * @throws UnknownHostException
-     * @throws ConnectTimeoutException
+     * @throws IOException when the socket creation fails
+     * @throws UnknownHostException when the remote or local addresses can't be resolved
+     * @throws ConnectTimeoutException when the connection times out
      * @see org.apache.http.conn.scheme.SchemeSocketFactory#connectSocket(java.net.Socket,
java.net.InetSocketAddress, java.net.InetSocketAddress, org.apache.http.params.HttpParams)
      */
     @Override
@@ -100,7 +100,7 @@ public final class LazySchemeSocketFacto
     /**
      * @param sock {@link Socket}
      * @return true if the socket is secure
-     * @throws IllegalArgumentException
+     * @throws IllegalArgumentException when the socket is not valid
      * @see org.apache.http.conn.scheme.SchemeSocketFactory#isSecure(java.net.Socket)
      */
     @Override



Mime
View raw message