summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-22 15:58:29 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-10-22 15:58:29 +0200
commit555e27b5a04b35fa039f802567b4b21199e14894 (patch)
tree964af6f6cc8d03f415c0cfb2af7e8a89951339f0 /test
parent80b680882f93882ed5016921cfab23fad666b7ba (diff)
undoapi: don't throw too generously
Diffstat (limited to 'test')
-rw-r--r--test/source/java/org/openoffice/test/tools/OfficeDocumentView.java6
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;