diff options
author | Oliver Braun <obr@openoffice.org> | 2002-09-19 09:52:46 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2002-09-19 09:52:46 +0000 |
commit | d5a737034ee04d92d81ad164700aee6ddd198a78 (patch) | |
tree | 62de2356869989d02ad8447ca0d61bd339680b99 /accessibility | |
parent | d1fd1f5a90185a40c127aca00c73486e54b08524 (diff) |
#103473# throw exception if JABW could not be found
Diffstat (limited to 'accessibility')
-rwxr-xr-x | accessibility/bridge/org/openoffice/accessibility/AccessBridge.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java b/accessibility/bridge/org/openoffice/accessibility/AccessBridge.java index 4f26ab4574ca..d9a085d403c5 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.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obr $ $Date: 2002-09-19 07:43:12 $ + * last change: $Author: obr $ $Date: 2002-09-19 10:52:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -199,7 +199,8 @@ public class AccessBridge { } catch(ClassNotFoundException e) { - // This is quite normal on systems that aren't used by disabled persons. + // Forward this exception to UNO to indicate that the service will not work correctly. + throw new com.sun.star.uno.RuntimeException("Security exception caught: " + e.getMessage()); } // Redirect output to log file on Windows for stdout / stderr are not visible @@ -222,7 +223,7 @@ public class AccessBridge { // Registers the native frame at the Windows access bridge protected void registerAccessibleNativeFrameImpl(Integer handle, WindowFake w) { // register this frame to the access bridge - Object[] args = { w, handle}; + Object[] args = { w, handle }; try { registerVirtualFrame.invoke(null, args); |