summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sw/SwXStyle.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sw/SwXStyle.java')
-rw-r--r--qadevOOo/tests/java/mod/_sw/SwXStyle.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/tests/java/mod/_sw/SwXStyle.java b/qadevOOo/tests/java/mod/_sw/SwXStyle.java
index 7ffc4e29fc4b..166fe7a470ab 100644
--- a/qadevOOo/tests/java/mod/_sw/SwXStyle.java
+++ b/qadevOOo/tests/java/mod/_sw/SwXStyle.java
@@ -136,15 +136,15 @@ public class SwXStyle extends TestCase {
oStyle = (XStyle) AnyConverter.toObject(
new Type(XStyle.class),oSFIA.getByIndex(10));
} catch ( com.sun.star.lang.WrappedTargetException e ) {
- log.println("Error: exception occured.");
+ log.println("Error: exception occurred.");
e.printStackTrace(log);
throw new StatusException( "Couldn't create environment ", e );
} catch ( com.sun.star.lang.IndexOutOfBoundsException e ) {
- log.println("Error: exception occured.");
+ log.println("Error: exception occurred.");
e.printStackTrace(log);
throw new StatusException( "Couldn't create environment ", e );
} catch ( com.sun.star.lang.IllegalArgumentException e ) {
- log.println("Error: exception occured.");
+ log.println("Error: exception occurred.");
e.printStackTrace(log);
throw new StatusException( "Couldn't create environment ", e );
}
@@ -157,7 +157,7 @@ public class SwXStyle extends TestCase {
oMSF.createInstance("com.sun.star.style.CharacterStyle");
oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt);
} catch ( com.sun.star.uno.Exception e ) {
- log.println("Error: exception occured.");
+ log.println("Error: exception occurred.");
e.printStackTrace(log);
throw new StatusException( "Couldn't create environment ", e );
}