diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-22 15:58:29 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-22 15:58:29 +0200 |
commit | 555e27b5a04b35fa039f802567b4b21199e14894 (patch) | |
tree | 964af6f6cc8d03f415c0cfb2af7e8a89951339f0 /test/source | |
parent | undoapi: added PRESENTATION/FORMULAR doc types (diff) | |
download | core-555e27b5a04b35fa039f802567b4b21199e14894.tar.gz core-555e27b5a04b35fa039f802567b4b21199e14894.zip |
undoapi: don't throw too generously
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/java/org/openoffice/test/tools/OfficeDocumentView.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/java/org/openoffice/test/tools/OfficeDocumentView.java b/test/source/java/org/openoffice/test/tools/OfficeDocumentView.java index beba6b3b3a38..da22ade339f6 100644 --- a/test/source/java/org/openoffice/test/tools/OfficeDocumentView.java +++ b/test/source/java/org/openoffice/test/tools/OfficeDocumentView.java @@ -75,7 +75,7 @@ public class OfficeDocumentView @return the dispatcher for the URL in question */ - public XDispatch getDispatcher( URL[] aURL ) throws java.lang.Exception + public XDispatch getDispatcher( URL[] aURL ) throws com.sun.star.uno.Exception { XDispatch xReturn = null; @@ -96,7 +96,7 @@ public class OfficeDocumentView /* ------------------------------------------------------------------ */ /** retrieves a dispatcher for the given URL, obtained at the current view of the document */ - public XDispatch getDispatcher( String url ) throws java.lang.Exception + public XDispatch getDispatcher( String url ) throws com.sun.star.uno.Exception { URL[] aURL = new URL[] { new URL() }; aURL[0].Complete = url; @@ -109,7 +109,7 @@ public class OfficeDocumentView @return <TRUE/> if the URL was successfully dispatched */ - public boolean dispatch( String url ) throws java.lang.Exception + public boolean dispatch( String url ) throws com.sun.star.uno.Exception { URL[] completeURL = new URL[] { new URL() }; completeURL[0].Complete = url; |