1 |
/* |
/* StubNotFoundException.java -- thrown if a valid stub is not found |
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 StubNotFoundException |
/** |
41 |
extends RemoteException { |
* Thrown if a valid stub class is not found for an object when it is exported. |
42 |
|
* |
43 |
public StubNotFoundException(String s) { |
* @author unknown |
44 |
super(s); |
* @see UnicastRemoteObject |
45 |
} |
* @see Activatable |
46 |
|
* @since 1.1 |
47 |
public StubNotFoundException(String s, Exception e) { |
* @status updated to 1.4 |
48 |
super(s, e); |
*/ |
49 |
} |
public class StubNotFoundException extends RemoteException |
50 |
|
{ |
51 |
|
/** |
52 |
|
* Compatible with JDK 1.2+. |
53 |
|
*/ |
54 |
|
private static final long serialVersionUID = -7088199405468872373L; |
55 |
|
|
56 |
|
|
57 |
|
/** |
58 |
|
* Create an exception with a message. |
59 |
|
* |
60 |
|
* @param s the message |
61 |
|
*/ |
62 |
|
public StubNotFoundException(String s) |
63 |
|
{ |
64 |
|
super(s); |
65 |
|
} |
66 |
|
|
67 |
|
/** |
68 |
|
* Create an exception with a message and a cause. |
69 |
|
* |
70 |
|
* @param s the message |
71 |
|
* @param e the cause |
72 |
|
*/ |
73 |
|
public StubNotFoundException(String s, Exception e) |
74 |
|
{ |
75 |
|
super(s, e); |
76 |
|
} |
77 |
} |
} |