diff options
Diffstat (limited to 'qadevOOo/tests')
4 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java index 9b55bbd2fa18..1703c95d4a5d 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_HandoutView.java @@ -208,7 +208,7 @@ public class DrawController_HandoutView extends TestCase { utils.dispatchURL(xMSF, xDrawDoc, ".uno:HandoutMode"); } catch (Exception e){ e.printStackTrace(log); - throw new StatusException(Status.failed(e.toString())); + throw new StatusException(e, Status.failed(e.getMessage())); } utils.shortWait(500); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java index 42feb43e810a..65a641d1ddba 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_NotesView.java @@ -205,7 +205,7 @@ public class DrawController_NotesView extends TestCase { utils.dispatchURL(xMSF, xDrawDoc, ".uno:NotesMode"); } catch (Exception e){ e.printStackTrace(log); - throw new StatusException(Status.failed(e.toString())); + throw new StatusException(e, Status.failed(e.getMessage())); } utils.shortWait(500); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java index f48b6efe51d7..afb690acd572 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_OutlineView.java @@ -205,7 +205,7 @@ public class DrawController_OutlineView extends TestCase { utils.dispatchURL(xMSF, xDrawDoc, ".uno:OutlineMode"); } catch (Exception e){ e.printStackTrace(log); - throw new StatusException(Status.failed(e.toString())); + throw new StatusException(e, Status.failed(e.getMessage())); } utils.shortWait(500); diff --git a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java index 73780a85681f..5163c4f576a4 100644 --- a/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java +++ b/qadevOOo/tests/java/mod/_sd/DrawController_PresentationView.java @@ -205,7 +205,7 @@ public class DrawController_PresentationView extends TestCase { utils.dispatchURL(xMSF, xDrawDoc, ".uno:DiaMode"); } catch (Exception e){ e.printStackTrace(log); - throw new StatusException(Status.failed(e.toString())); + throw new StatusException(e, Status.failed(e.getMessage())); } utils.shortWait(500); |