diff options
Diffstat (limited to 'tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav')
-rw-r--r-- | tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav new file mode 100644 index 000000000..860a93c84 --- /dev/null +++ b/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav @@ -0,0 +1,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; + } + } +
\ No newline at end of file |