2008-07-03 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / libjava / classpath / tools / gnu / classpath / tools / rmic / templates / Stub_12Method.jav
blob9aaf8f5adc0b04b1fff6f24e33b6871eb9c28a1f
1   /** @inheritDoc */
2   public #return_type #method_name(#argument_list) #throws
3   {
4     try
5       {
6         Object result =  ref.invoke(this, met_#method_name,
7                    #object_arg_list,
8                    #method_hash);
9         #return_statement           
10       }
11     catch (RuntimeException e)
12       {
13         throw e;
14       }
15     catch (RemoteException e)
16       {
17         throw e;
18       }
19     catch (Exception e)
20       {
21         UnexpectedException uex = new UnexpectedException(exception_message);
22         uex.detail = e;
23         throw uex;
24       }
25   }
26