In Java, css.uno.RuntimeException doesn't derive from css.uno.Exception
Change-Id: I83850db6e3f3ac87d52e75f122ba2b6bba3905b9
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user