1 |
/* |
/* ExportException.java -- an export attempt failed |
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 |
39 |
|
|
40 |
import java.rmi.RemoteException; |
import java.rmi.RemoteException; |
41 |
|
|
42 |
public class ExportException |
/** |
43 |
extends RemoteException { |
* Thrown if an attempt to export a remote object fails. |
44 |
|
* |
45 |
public ExportException(String s) { |
* @author unknown |
46 |
super(s); |
* @see UnicastRemoteObject |
47 |
} |
* @see Activatable |
48 |
|
* @since 1.1 |
49 |
public ExportException(String s, Exception e) { |
* @status updated to 1.4 |
50 |
super(s, e); |
*/ |
51 |
} |
public class ExportException extends RemoteException |
52 |
|
{ |
53 |
|
/** |
54 |
|
* Compatible with JDK 1.1+. |
55 |
|
*/ |
56 |
|
private static final long serialVersionUID = -9155485338494060170L; |
57 |
|
|
58 |
|
/** |
59 |
|
* Create an exception with the specified message. |
60 |
|
* |
61 |
|
* @param s the message |
62 |
|
*/ |
63 |
|
public ExportException(String s) |
64 |
|
{ |
65 |
|
super(s); |
66 |
|
} |
67 |
|
|
68 |
|
/** |
69 |
|
* Create an exception with the specified message and cause. |
70 |
|
* |
71 |
|
* @param s the message |
72 |
|
* @param e the cause |
73 |
|
*/ |
74 |
|
public ExportException(String s, Exception e) |
75 |
|
{ |
76 |
|
super(s, e); |
77 |
|
} |
78 |
} |
} |