From 51b7b69de4824c0a0740c131e829b1412f1e22fa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Oct 2014 15:21:17 +0200 Subject: java: should throw this exception Change-Id: I0da1b5cda0ecf20d3566413864a45a49bbcb2a2d --- .../handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java index 28d6dc3b092c..86b168abc55d 100644 --- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java +++ b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java @@ -317,7 +317,7 @@ public class OptionsEventHandler { throws com.sun.star.uno.Exception { if (aWindow == null) - new com.sun.star.lang.IllegalArgumentException( + throw new com.sun.star.lang.IllegalArgumentException( "Method external_event requires that a window is passed as argument", this, (short) -1); -- cgit