01: /*
02: * RMI stub class
03: * for class org.apache.harmony.rmi.test.MyRemoteObject3
04: * Compatible with stub protocol version 1.2
05: *
06: * Generated by DRL RMI Compiler (rmic).
07: *
08: * DO NOT EDIT!!!
09: * Contents subject to change without notice!
10: */
11: package org.apache.harmony.rmi.test;
12:
13: public final class MyRemoteObject3_Stub extends
14: java.rmi.server.RemoteStub implements
15: org.apache.harmony.rmi.test.MyRemoteInterface3, java.rmi.Remote {
16:
17: private static final long serialVersionUID = 2;
18:
19: private static java.lang.reflect.Method $method_test3_0;
20:
21: static {
22: try {
23: $method_test3_0 = org.apache.harmony.rmi.test.MyRemoteInterface3.class
24: .getMethod("test3", new java.lang.Class[] {});
25: } catch (java.lang.NoSuchMethodException e) {
26: throw new java.lang.NoSuchMethodError(
27: "Stub class initialization failed: org.apache.harmony.rmi.test.MyRemoteObject3_Stub");
28: }
29: }
30:
31: public MyRemoteObject3_Stub(java.rmi.server.RemoteRef ref) {
32: super (ref);
33: }
34:
35: // Implementation of test3()
36: public java.lang.String test3() throws java.rmi.RemoteException {
37: try {
38: java.lang.Object $result = ref.invoke(this ,
39: $method_test3_0, null, 3743488659963366430L);
40: return ((java.lang.String) $result);
41: } catch (java.lang.RuntimeException e) {
42: throw e;
43: } catch (java.rmi.RemoteException e) {
44: throw e;
45: } catch (java.lang.Exception e) {
46: throw new java.rmi.UnexpectedException(
47: "Undeclared checked exception", e);
48: }
49: }
50: }
|