diff options
author | Oliver Braun <obr@openoffice.org> | 2002-08-19 10:20:47 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2002-08-19 10:20:47 +0000 |
commit | 796357a8e82d37cad27c0b262c4fdb001545b675 (patch) | |
tree | 26a9a519a2cb5d89ffd1535d6b361f14d9a2eef2 | |
parent | 9e33aa7f957df7a37a2e0496f964003950ad5526 (diff) |
#102435# throw an exception if remote access brridge could not be loaded
-rwxr-xr-x | accessibility/bridge/org/openoffice/accessibility/AccessBridge.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java b/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java index ac516bb764d1..a17136a57101 100755 --- a/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java +++ b/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java @@ -2,9 +2,9 @@ * * $RCSfile: AccessBridge.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obr $ $Date: 2002-08-09 15:29:26 $ + * last change: $Author: obr $ $Date: 2002-08-19 11:20:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -260,11 +260,13 @@ public class AccessBridge { } } else { System.err.println("InfoProvider service not found."); + throw new com.sun.star.uno.RuntimeException("RemoteAccessBridge service not found.\n"); } } catch (com.sun.star.uno.Exception e) { System.err.println(e.getMessage()); + throw new com.sun.star.uno.RuntimeException(e.getMessage()); } xSingleServiceFactory = FactoryHelper.getServiceFactory(_AccessBridge.class, |