git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 4.7.1
[fanfix.git]
/
src
/
be
/
nikiroo
/
utils
/
serial
/
server
/
ConnectActionClient.java
diff --git
a/src/be/nikiroo/utils/serial/server/ConnectActionClient.java
b/src/be/nikiroo/utils/serial/server/ConnectActionClient.java
index 626b62f78494ab4fdb818220629a281bc3507f14..db06a9f247544cef1d210531d7db45429af1a78b 100644
(file)
--- a/
src/be/nikiroo/utils/serial/server/ConnectActionClient.java
+++ b/
src/be/nikiroo/utils/serial/server/ConnectActionClient.java
@@
-2,6
+2,7
@@
package be.nikiroo.utils.serial.server;
import java.io.IOException;
import java.net.Socket;
import java.io.IOException;
import java.net.Socket;
+import java.net.UnknownHostException;
import be.nikiroo.utils.Version;
import be.nikiroo.utils.Version;
@@
-44,7
+45,12
@@
abstract class ConnectActionClient {
* TRUE for an SSL connection, FALSE for plain text
*
* @throws IOException
* TRUE for an SSL connection, FALSE for plain text
*
* @throws IOException
- * in case of I/O error when creating the socket
+ * in case of I/O error
+ * @throws UnknownHostException
+ * if the host is not known
+ * @throws IllegalArgumentException
+ * if the port parameter is outside the specified range of valid
+ * port values, which is between 0 and 65535, inclusive
*/
public ConnectActionClient(String host, int port, boolean ssl)
throws IOException {
*/
public ConnectActionClient(String host, int port, boolean ssl)
throws IOException {
@@
-64,7
+70,12
@@
abstract class ConnectActionClient {
* the client version
*
* @throws IOException
* the client version
*
* @throws IOException
- * in case of I/O error when creating the socket
+ * in case of I/O error
+ * @throws UnknownHostException
+ * if the host is not known
+ * @throws IllegalArgumentException
+ * if the port parameter is outside the specified range of valid
+ * port values, which is between 0 and 65535, inclusive
*/
public ConnectActionClient(String host, int port, boolean ssl,
Version version) throws IOException {
*/
public ConnectActionClient(String host, int port, boolean ssl,
Version version) throws IOException {