Class java.net.SocketException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.net.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 Index

 o SocketException()
Constructs a new SocketException with no detail message.
 o SocketException(String)
Constructs a new SocketException with the specified detail message.

Constructors

 o 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
 o 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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index