blob: 1069884b99c3fafcfebaee1ad5182ee58df08047 (
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
26
|
/** @inheritDoc */
public #return_type #method_name(#argument_list) #throws
{
try
{
Object result = ref.invoke(this, met_#method_name,
#object_arg_list,
#method_hash);
#return_statement
}
catch (RuntimeException e)
{
throw e;
}
catch (RemoteException e)
{
throw e;
}
catch (Exception e)
{
UnexpectedException uex = new UnexpectedException(exception_message);
uex.initCause(e);
throw uex;
}
}
|