diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java b/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java index 69d80aef82a0..0557be49967d 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java +++ b/qadevOOo/tests/java/mod/_dbaccess/SbaXGridControl.java @@ -131,7 +131,7 @@ public class SbaXGridControl extends TestCase { log.println("creating a textdocument"); xTextDoc = SOF.createTextDoc(null); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED e.printStackTrace(log); throw new StatusException("Couldn't create document", e); } @@ -267,19 +267,19 @@ public class SbaXGridControl extends TestCase { aControl4.setPropertyValue("DataField", "Title"); aControl4.setPropertyValue("Label", "Title"); } catch (com.sun.star.lang.IllegalArgumentException e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED log.println("!!! Couldn't create instance : " + e); throw new StatusException("Can't create column instances.", e); } catch (com.sun.star.lang.WrappedTargetException e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED log.println("!!! Couldn't create instance : " + e); throw new StatusException("Can't create column instances.", e); } catch (com.sun.star.beans.PropertyVetoException e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED log.println("!!! Couldn't create instance : " + e); throw new StatusException("Can't create column instances.", e); } catch (com.sun.star.beans.UnknownPropertyException e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED log.println("!!! Couldn't create instance : " + e); throw new StatusException("Can't create column instances.", e); } @@ -459,7 +459,7 @@ public class SbaXGridControl extends TestCase { oCShape.setSize(size); oCShape.setPosition(position); } catch (com.sun.star.uno.Exception e) { - // Some exception occures.FAILED + // Some exception occurs.FAILED System.out.println("Couldn't create Grid" + e); throw new StatusException("Couldn't create Grid", e); } |