java.net
Class SocketException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.io.IOException
|
+--java.net.SocketException
- public class SocketException
- extends IOException
Signals that an error occurred while attempting to use a socket.
Constructor Summary |
SocketException()
Constructs a new SocketException with no detail message. |
SocketException(String msg)
Constructs a new SocketException with the specified detail
message. |
SocketException
public SocketException(String msg)
- Constructs a new SocketException with the specified detail
message.
A detail message is a String that gives a specific
description of this error.
- Parameters:
msg
- the detail message
SocketException
public SocketException()
- Constructs a new SocketException with no detail message.
A detail message is a String that gives a specific
description of this error.