1. // Stub class generated by rmic, do not edit.
  2. // Contents subject to change without notice.
  3. package javax.management.remote.rmi;
  4. public final class RMIServerImpl_Stub
  5. extends java.rmi.server.RemoteStub
  6. implements javax.management.remote.rmi.RMIServer
  7. {
  8. private static final long serialVersionUID = 2;
  9. private static java.lang.reflect.Method $method_getVersion_0;
  10. private static java.lang.reflect.Method $method_newClient_1;
  11. static {
  12. try {
  13. $method_getVersion_0 = javax.management.remote.rmi.RMIServer.class.getMethod("getVersion", new java.lang.Class[] {});
  14. $method_newClient_1 = javax.management.remote.rmi.RMIServer.class.getMethod("newClient", new java.lang.Class[] {java.lang.Object.class});
  15. } catch (java.lang.NoSuchMethodException e) {
  16. throw new java.lang.NoSuchMethodError(
  17. "stub class initialization failed");
  18. }
  19. }
  20. // constructors
  21. public RMIServerImpl_Stub(java.rmi.server.RemoteRef ref) {
  22. super(ref);
  23. }
  24. // methods from remote interfaces
  25. // implementation of getVersion()
  26. public java.lang.String getVersion()
  27. throws java.rmi.RemoteException
  28. {
  29. try {
  30. Object $result = ref.invoke(this, $method_getVersion_0, null, -8081107751519807347L);
  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. // implementation of newClient(Object)
  41. public javax.management.remote.rmi.RMIConnection newClient(java.lang.Object $param_Object_1)
  42. throws java.io.IOException
  43. {
  44. try {
  45. Object $result = ref.invoke(this, $method_newClient_1, new java.lang.Object[] {$param_Object_1}, -1089742558549201240L);
  46. return ((javax.management.remote.rmi.RMIConnection) $result);
  47. } catch (java.lang.RuntimeException e) {
  48. throw e;
  49. } catch (java.io.IOException e) {
  50. throw e;
  51. } catch (java.lang.Exception e) {
  52. throw new java.rmi.UnexpectedException("undeclared checked exception", e);
  53. }
  54. }
  55. }