Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.net
Class SocketException  view SocketException download SocketException.java

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

public class SocketException
extends java.io.IOException

This exception indicates that a generic error occurred related to an operation on a socket. Check the descriptive message (if any) for details on the nature of this error


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.0+.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SocketException()
          Create a new instance without a descriptive error message.
SocketException(java.lang.String message)
          Create a new instance with a descriptive error message.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Compatible with JDK 1.0+.

See Also:
Constant Field Values
Constructor Detail

SocketException

public SocketException()
Create a new instance without a descriptive error message.


SocketException

public SocketException(java.lang.String message)
Create a new instance with a descriptive error message.