From 31170413ae3786bf44564e813d7291354e939a77 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 20 Nov 2012 19:07:31 +0100 Subject: 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 --- udkapi/com/sun/star/lang/IllegalArgumentException.idl | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'udkapi/com/sun') diff --git a/udkapi/com/sun/star/lang/IllegalArgumentException.idl b/udkapi/com/sun/star/lang/IllegalArgumentException.idl index 59e3abc30c9b..9e522b8e38a9 100644 --- a/udkapi/com/sun/star/lang/IllegalArgumentException.idl +++ b/udkapi/com/sun/star/lang/IllegalArgumentException.idl @@ -19,21 +19,16 @@ #ifndef __com_sun_star_lang_IllegalArgumentException_idl__ #define __com_sun_star_lang_IllegalArgumentException_idl__ -#include +#include +module com { module sun { module star { module lang { - - module com { module sun { module star { module lang { - - -// DocMerge from xml: exception com::sun::star::lang::IllegalArgumentException /** This exception is thrown to indicate that a method has passed an illegal or inappropriate argument. */ -published exception IllegalArgumentException: com::sun::star::uno::Exception +published exception IllegalArgumentException + : com::sun::star::uno::RuntimeException { - - // DocMerge from xml: field com::sun::star::lang::IllegalArgumentException::ArgumentPosition /** identifies the position of the illegal argument.

This field is -1 if the position is not known.

@@ -42,7 +37,6 @@ published exception IllegalArgumentException: com::sun::star::uno::Exception }; - }; }; }; }; #endif -- cgit