Build 1.0_r1(from source)

java.net
Class SocketException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.SocketException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BindException, ConnectException, NoRouteToHostException, PortUnreachableException

public class SocketException
extends IOException

This SocketException may be thrown during socket creation or setting options, and is the superclass of all other socket related exceptions.

See Also:
Serialized Form

Constructor Summary
SocketException()
          Constructs a new instance of this class with its walkback filled in.
SocketException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocketException

public SocketException()
Constructs a new instance of this class with its walkback filled in.


SocketException

public SocketException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature