1 |
/* |
/* ServerError.java -- wraps an error while creating the server |
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; |
package java.rmi; |
39 |
|
|
40 |
public class ServerError |
/** |
41 |
extends RemoteException { |
* Wraps any error thrown while processing the server of a remote call. |
42 |
|
* |
43 |
public ServerError(String s, Error e) { |
* @author unknown |
44 |
super(s, e); |
* @since 1.1 |
45 |
} |
* @status updated to 1.4 |
46 |
|
*/ |
47 |
|
public class ServerError extends RemoteException |
48 |
|
{ |
49 |
|
/** |
50 |
|
* Compatible with JDK 1.1+. |
51 |
|
*/ |
52 |
|
private static final long serialVersionUID = 8455284893909696482L; |
53 |
|
|
54 |
|
/** |
55 |
|
* Create an exception with a message and a cause. |
56 |
|
* |
57 |
|
* @param s the message |
58 |
|
* @param e the cause |
59 |
|
*/ |
60 |
|
public ServerError(String s, Error e) |
61 |
|
{ |
62 |
|
super(s, e); |
63 |
|
} |
64 |
} |
} |