/[classpath]/classpath/java/net/NoRouteToHostException.java
ViewVC logotype

Diff of /classpath/java/net/NoRouteToHostException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.7 by ericb, Sun Feb 24 04:25:16 2002 UTC
# Line 1  Line 1 
1  /* NoRouteToHostException.java -- Cannot connect to a host  /* NoRouteToHostException.java -- Cannot connect to a host
2     Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 7  GNU Classpath is free software; you can Line 7  GNU Classpath is free software; you can
7  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
9  any later version.  any later version.
10    
11  GNU Classpath is distributed in the hope that it will be useful, but  GNU Classpath is distributed in the hope that it will be useful, but
12  WITHOUT ANY WARRANTY; without even the implied warranty of  WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.net;  package java.net;
40    
41  /**  /**
  * Written using on-line Java Platform 1.2 API Specification, as well  
  * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).  
  * Status:  Believed complete and correct.  
  */  
   
 /**  
42    * This exception indicates that there is no TCP/IP route to the requested    * This exception indicates that there is no TCP/IP route to the requested
43    * host.  This is often due to a misconfigured routing table.    * host.  This is often due to a misconfigured routing table.
44    *    *
45    * @author Aaron M. Renn (arenn@urbanophile.com)    * @author Aaron M. Renn <arenn@urbanophile.com>
46    * @author Warren Levy <warrenl@cygnus.com>    * @author Warren Levy <warrenl@cygnus.com>
47    * @date March 5, 1999.    * @since 1.1
48      * @status updated to 1.4
49    */    */
50  public class NoRouteToHostException extends SocketException  public class NoRouteToHostException extends SocketException
51  {  {
52      /**
53  /*     * Compatible with JDK 1.1+.
54   * Constructors     */
55   */    private static final long serialVersionUID = -1897550894873493790L;
56    
57  /**    /**
58    * Initializes an instance of <code>NoRouteToHostException</code>     * Create an instance without a descriptive error message.
59    * without a descriptive error message.     */
60    */    public NoRouteToHostException()
61  public    {
62  NoRouteToHostException()    }
63  {  
64    super();    /**
65  }     * Create an instance with a descriptive error message, such as the text
66       * from strerror(3).
67  /*************************************************************************/     *
68       * @param message a message describing the error that occurred
69  /**     */
70    * Initializes an instance of <code>NoRouteToHostException</code>    public NoRouteToHostException(String message)
71    * witha descriptive error message, such as the text from strerror(3).    {
72    *      super(message);
73    * @param message A message describing the error that occurred.    }
   */  
 public  
 NoRouteToHostException(String message)  
 {  
   super(message);  
 }  
   
74  } // class NoRouteToHostException  } // class NoRouteToHostException
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26