summaryrefslogtreecommitdiff
path: root/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav')
-rw-r--r--tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav b/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav
index f67098a4f..860a93c84 100644
--- a/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav
+++ b/tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav
@@ -18,7 +18,7 @@
catch (Exception e)
{
UnexpectedException uex = new UnexpectedException(exception_message);
- uex.initCause(e);
+ uex.detail = e;
throw uex;
}
}