1 |
/* BindException.java -- An exception occurred while binding to a socket |
/* BindException.java -- An exception occurred while binding to a socket |
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 |
|
|
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 |
38 |
package java.net; |
package java.net; |
39 |
|
|
40 |
/** |
/** |
41 |
* Written using on-line Java Platform 1.2 API Specification, as well |
* This exception indicates that an error occurred while attempting to bind |
42 |
* as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). |
* socket to a particular port. |
43 |
* Status: Believed complete and correct. |
* |
44 |
|
* @author Aaron M. Renn <arenn@urbanophile.com> |
45 |
|
* @author Warren Levy <warrenl@cygnus.com> |
46 |
|
* @status updated to 1.4 |
47 |
*/ |
*/ |
|
|
|
|
/** |
|
|
* This exception indicates that an error occurred while attempting to bind |
|
|
* socket to a particular port. |
|
|
* |
|
|
* @author Aaron M. Renn (arenn@urbanophile.com) |
|
|
* @author Warren Levy <warrenl@cygnus.com> |
|
|
* @date March 5, 1999. |
|
|
*/ |
|
48 |
public class BindException extends SocketException |
public class BindException extends SocketException |
49 |
{ |
{ |
50 |
|
/** |
51 |
/* |
* Compatible with JDK 1.1+. |
52 |
* Constructors |
*/ |
53 |
*/ |
private static final long serialVersionUID = -5945005768251722951L; |
54 |
|
|
55 |
/** |
/** |
56 |
* Initializes a new instance of <code>BindException</code> without |
* Create a new instance without a descriptive error message. |
57 |
* a descriptive error message. |
*/ |
58 |
*/ |
public BindException() |
59 |
public |
{ |
60 |
BindException() |
} |
61 |
{ |
|
62 |
super(); |
/** |
63 |
} |
* Create a new instance with a descriptive error message, such as the |
64 |
|
* text from strerror(3). |
65 |
/*************************************************************************/ |
* |
66 |
|
* @param message a message describing the error that occurred |
67 |
/** |
*/ |
68 |
* Initializes a new instance of <code>BindException</code> with |
public BindException(String message) |
69 |
* a descriptive error message, such as the text from strerror(3). |
{ |
70 |
* |
super(message); |
71 |
* @param message A message describing the error that occurred. |
} |
|
*/ |
|
|
public |
|
|
BindException(String message) |
|
|
{ |
|
|
super(message); |
|
|
} |
|
|
|
|
72 |
} // class BindException |
} // class BindException |
|
|
|