In Java, css.uno.RuntimeException doesn't derive from css.uno.Exception

Change-Id: I83850db6e3f3ac87d52e75f122ba2b6bba3905b9
This commit is contained in:
Stephan Bergmann
2017-02-23 11:43:22 +01:00
parent aceba1e1af
commit 59a63d8161
@@ -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) {