Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/java/rmi/activation/CommandEnvironment/Doctor_Stub.java
38828 views
1
/*
2
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
24
// Stub class generated by rmic, do not edit.
25
// Contents subject to change without notice.
26
27
public final class Doctor_Stub
28
extends java.rmi.server.RemoteStub
29
implements Eliza, Retireable, java.rmi.Remote
30
{
31
private static final long serialVersionUID = 2;
32
33
private static java.lang.reflect.Method $method_complain_0;
34
private static java.lang.reflect.Method $method_retire_1;
35
36
static {
37
try {
38
$method_complain_0 = Eliza.class.getMethod("complain", new java.lang.Class[] {java.lang.String.class});
39
$method_retire_1 = Retireable.class.getMethod("retire", new java.lang.Class[] {});
40
} catch (java.lang.NoSuchMethodException e) {
41
throw new java.lang.NoSuchMethodError(
42
"stub class initialization failed");
43
}
44
}
45
46
// constructors
47
public Doctor_Stub(java.rmi.server.RemoteRef ref) {
48
super(ref);
49
}
50
51
// methods from remote interfaces
52
53
// implementation of complain(String)
54
public java.lang.String complain(java.lang.String $param_String_1)
55
throws java.rmi.RemoteException
56
{
57
try {
58
Object $result = ref.invoke(this, $method_complain_0, new java.lang.Object[] {$param_String_1}, -6341882871094951445L);
59
return ((java.lang.String) $result);
60
} catch (java.lang.RuntimeException e) {
61
throw e;
62
} catch (java.rmi.RemoteException e) {
63
throw e;
64
} catch (java.lang.Exception e) {
65
throw new java.rmi.UnexpectedException("undeclared checked exception", e);
66
}
67
}
68
69
// implementation of retire()
70
public void retire()
71
throws java.rmi.RemoteException
72
{
73
try {
74
ref.invoke(this, $method_retire_1, null, 1748571935738034018L);
75
} catch (java.lang.RuntimeException e) {
76
throw e;
77
} catch (java.rmi.RemoteException e) {
78
throw e;
79
} catch (java.lang.Exception e) {
80
throw new java.rmi.UnexpectedException("undeclared checked exception", e);
81
}
82
}
83
}
84
85