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

Quick Search    Search Deep

java.net
Class ConnectException  view ConnectException download ConnectException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.net.SocketException
                  extended byjava.net.ConnectException
All Implemented Interfaces:
java.io.Serializable

public class ConnectException
extends SocketException

This exception indicates that an error occurred while attempting to connect to a remote host. Often this indicates that the remote host refused the connection (ie, is not listening on the target socket).

Since:
1.1

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Compatible with JDK 1.1+.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ConnectException()
          Create a new instance without a descriptive error message.
ConnectException(java.lang.String message)
          Create a new instance with a descriptive error message, such as the text from strerror(3).
 
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.1+.

See Also:
Constant Field Values
Constructor Detail

ConnectException

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


ConnectException

public ConnectException(java.lang.String message)
Create a new instance with a descriptive error message, such as the text from strerror(3).