API CHANGE: com.sun.star.lang.IllegalArgumentException
... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
This commit is contained in:
@@ -680,7 +680,7 @@ public abstract class ScriptProvider
|
||||
XContent content = factory.createDocumentContent( document );
|
||||
return content.getIdentifier().getContentIdentifier();
|
||||
}
|
||||
catch( Exception ex )
|
||||
catch (com.sun.star.lang.IllegalArgumentException ex)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user