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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.