diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-23 11:43:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-23 11:43:22 +0100 |
commit | 59a63d8161b4948766c075224599ded44b01d3ce (patch) | |
tree | 2d8b55fb4c87a8cc104937516534513fbfe66c0f /scripting/java | |
parent | aceba1e1af7ba63d29f35022741d3c764df63983 (diff) |
In Java, css.uno.RuntimeException doesn't derive from css.uno.Exception
Change-Id: I83850db6e3f3ac87d52e75f122ba2b6bba3905b9
Diffstat (limited to 'scripting/java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java index 31475a0a7bfb..e48bc48fbb45 100644 --- a/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java +++ b/scripting/java/com/sun/star/script/framework/provider/ScriptProvider.java @@ -359,7 +359,7 @@ public abstract class ScriptProvider implements throw e2; } catch (com.sun.star.lang.WrappedTargetException wta) { // TODO specify the correct error Type - Exception wrapped = (Exception) wta.TargetException; + java.lang.Exception wrapped = (java.lang.Exception) wta.TargetException; String message = wta.getMessage(); if (wrapped != null) { |