summaryrefslogtreecommitdiff
path: root/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav
blob: 860a93c844767a07fb5f5c3a885d542cd2d75964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  /** @inheritDoc */
  public void #method_name(#argument_list) #throws
  {
    try
      {
        ref.invoke(this, met_#method_name,
          #object_arg_list,
          #method_hash);
      }
    catch (RuntimeException e)
      {
        throw e;
      }
    catch (RemoteException e)
      {
        throw e;
      }
    catch (Exception e)
      {
        UnexpectedException uex = new UnexpectedException(exception_message);
        uex.detail = e;
        throw uex;
      }
  }