<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.net.ConnectException
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.BindException.html#_top_">Previous</a>  <a href="java.net.MalformedURLException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.net.ConnectException
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.lang.Throwable.html#_top_">java.lang.Throwable</a>
           |
           +----<a href="java.lang.Exception.html#_top_">java.lang.Exception</a>
                   |
                   +----<a href="java.io.IOException.html#_top_">java.io.IOException</a>
                           |
                           +----<a href="java.net.SocketException.html#_top_">java.net.SocketException</a>
                                   |
                                   +----java.net.ConnectException
</pre>
<hr>
<dl>
  <dt> public class <b>ConnectException</b>
  <dt> extends <a href="java.net.SocketException.html#_top_">SocketException</a>
</dl>
Signals that an error occurred while attempting to connect a
 socket to a remote address and port.  Typically, the connection
 was refused remotely (e.g., no process is listening on the 
 remote address/port).
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#ConnectException()"><b>ConnectException</b></a>()
  <dd>  Construct a new ConnectException with no detailed message.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#ConnectException(java.lang.String)"><b>ConnectException</b></a>(String)
  <dd>  Constructs a new ConnectException with the specified detail 
 message as to why the connect error occurred.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="ConnectException"></a>
<a name="ConnectException(java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>ConnectException</b>
<pre>
 public ConnectException(<a href="java.lang.String.html#_top_">String</a> msg)
</pre>
<dl>
  <dd> Constructs a new ConnectException with the specified detail 
 message as to why the connect error occurred.
 A detail message is a String that gives a specific 
 description of this error.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> msg - the detail message
  </dl></dd>
</dl>
<a name="ConnectException()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>ConnectException</b>
<pre>
 public ConnectException()
</pre>
<dl>
  <dd> Construct a new ConnectException with no detailed message.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.net.html">This Package</a>  <a href="java.net.BindException.html#_top_">Previous</a>  <a href="java.net.MalformedURLException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
