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

Diff of /classpath/java/net/UnknownHostException.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  /* UnknownHostException.java -- The hostname is not unknown  /* UnknownHostException.java -- The hostname is unknown
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 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package java.net;  package java.net;
39    
40  /*  import java.io.IOException;
  * Written using on-line Java Platform 1.2 API Specification.  
  * Status:  Believed complete and correct.  
  */  
41    
42  /**  /**
43    * This exception indicates that an attempt was made to reference a hostname   * This exception indicates that an attempt was made to reference a hostname
44    * or IP address that is not valid.  This could possibly indicate that a   * or IP address that is not valid.  This could possibly indicate that a
45    * DNS problem has occurred, but most often means that the host was not   * DNS problem has occurred, but most often means that the host was not
46    * correctly specified.   * correctly specified.
47    *   *
48    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn <arenn@urbanophile.com>
49    * @author Per Bothner   * @author Per Bothner
50    * @date January 6, 1999.   * @status updated to 1.4
   */  
 public class UnknownHostException extends java.io.IOException  
 {  
   
 /*  
  * Constructors  
51   */   */
52    public class UnknownHostException extends IOException
 /**  
   * Initializes a new instance of <code>UnknownHostException</code>  
   * without a descriptive error message.  
   */  
 public  
 UnknownHostException()  
53  {  {
54    super();    /**
55  }     * Compatible with JDK 1.0+.
56       */
57  /*************************************************************************/    private static final long serialVersionUID = -4639126076052875403L;
58    
59  /**    /**
60    * Initializes a new instance of <code>UnknownHostException</code>     * Create a new instance without a descriptive error message.
61    * with a descriptive error message, such as the name of the host     */
62    * that could not be resolved.    public UnknownHostException()
63    *    {
64    * @param message A message describing the error that occurrred.    }
65    */  
66  public    /**
67  UnknownHostException(String message)     * Create a new instance with a descriptive error message, such as the
68  {     * name of the host that could not be resolved.
69    super(message);     *
70  }     * @param message a message describing the error that occurred
71       */
72      public UnknownHostException(String message)
73      {
74        super(message);
75      }
76  } // class UnknownHostException  } // class UnknownHostException
   

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