1 |
/* |
/* ServerNotActiveException.java -- the method is not servicing a remote call |
2 |
Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. |
Copyright (c) 1996, 1997, 1998, 1999, 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 |
37 |
|
|
38 |
package java.rmi.server; |
package java.rmi.server; |
39 |
|
|
40 |
import java.lang.Exception; |
/** |
41 |
|
* Thrown during <code>RemoteServer.getClientHost</code> if the host is |
42 |
public class ServerNotActiveException |
* not servicing a remote method call. |
43 |
extends Exception { |
* |
44 |
|
* @author unknown |
45 |
public ServerNotActiveException() { |
* @see RemoteServer#getClientHost() |
46 |
super(); |
* @since 1.1 |
47 |
} |
* @status updated to 1.4 |
48 |
|
*/ |
49 |
public ServerNotActiveException(String s) { |
public class ServerNotActiveException extends Exception |
50 |
super(s); |
{ |
51 |
} |
/** |
52 |
|
* Compatible with JDK 1.1+. |
53 |
|
*/ |
54 |
|
private static final long serialVersionUID = 4687940720827538231L; |
55 |
|
|
56 |
|
/** |
57 |
|
* Create an exception with no message. |
58 |
|
*/ |
59 |
|
public ServerNotActiveException() |
60 |
|
{ |
61 |
|
} |
62 |
|
|
63 |
|
/** |
64 |
|
* Create an exception with a message. |
65 |
|
* |
66 |
|
* @param s the message |
67 |
|
*/ |
68 |
|
public ServerNotActiveException(String s) |
69 |
|
{ |
70 |
|
super(s); |
71 |
|
} |
72 |
} |
} |