1 package org.sapia.ubik.rmi.examples; 4 5 public final class JdkBar_Stub extends java.rmi.server.RemoteStub 6 implements org.sapia.ubik.rmi.examples.Bar, java.rmi.Remote { 7 private static final long serialVersionUID = 2; 8 private static java.lang.reflect.Method $method_getMsg_0; 9 10 static { 11 try { 12 $method_getMsg_0 = org.sapia.ubik.rmi.examples.Bar.class.getMethod("getMsg", 13 new java.lang.Class [] { }); 14 } catch (java.lang.NoSuchMethodException e) { 15 throw new java.lang.NoSuchMethodError ("stub class initialization failed"); 16 } 17 } 18 19 public JdkBar_Stub(java.rmi.server.RemoteRef ref) { 21 super(ref); 22 } 23 24 public java.lang.String getMsg() throws java.rmi.RemoteException { 27 try { 28 Object $result = ref.invoke(this, $method_getMsg_0, null, 29 489183614250787710L); 30 31 return ((java.lang.String ) $result); 32 } catch (java.lang.RuntimeException e) { 33 throw e; 34 } catch (java.rmi.RemoteException e) { 35 throw e; 36 } catch (java.lang.Exception e) { 37 throw new java.rmi.UnexpectedException ("undeclared checked exception", e); 38 } 39 } 40 } 41 | Popular Tags |