summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_odbc/ODBCDriver.java')
-rw-r--r--qadevOOo/tests/java/mod/_odbc/ODBCDriver.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
index 5ba1eaa97a69..6e6cd83039f4 100644
--- a/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
+++ b/qadevOOo/tests/java/mod/_odbc/ODBCDriver.java
@@ -62,8 +62,7 @@ public class ODBCDriver extends TestCase {
oObj = (XInterface)Param.getMSF().createInstance(
"com.sun.star.comp.sdbc.ODBCDriver");
} catch (com.sun.star.uno.Exception e) {
- e.printStackTrace(log);
- throw new StatusException(Status.failed("Couldn't create object"));
+ throw new StatusException(e, Status.failed("Couldn't create object"));
}
log.println("creating a new environment for ODBCDriver object");