Date: Monday, November 28, 2005 @ 13:50:12
Author: gilles
Path: /cvsroot/carob/carob/test
Modified: TestExecReadRequest.cpp (1.9 -> 1.10) TestStatement.cpp (1.5 ->
1.6)
Integrated new BadJDBCApiUsageException thrown when executeQuery is done
without 'SELECT' in the sql string
-------------------------+
TestExecReadRequest.cpp | 4 ++--
TestStatement.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Index: carob/test/TestExecReadRequest.cpp
diff -u carob/test/TestExecReadRequest.cpp:1.9
carob/test/TestExecReadRequest.cpp:1.10
--- carob/test/TestExecReadRequest.cpp:1.9 Fri Nov 25 17:29:10 2005
+++ carob/test/TestExecReadRequest.cpp Mon Nov 28 13:50:12 2005
@@ -42,11 +42,11 @@
// We should receive an exception instead of coming here
CPPUNIT_ASSERT(false);
}
- catch (BackendException sioe)
+ catch (ControllerException ce)
{
if (isErrorEnabled())
{
- logError(fctName, L"Read failed (this is ok). Exception:
"+sioe.description());
+ logError(fctName, L"Read failed (this is ok). Exception:
"+ce.description());
}
}
}
Index: carob/test/TestStatement.cpp
diff -u carob/test/TestStatement.cpp:1.5 carob/test/TestStatement.cpp:1.6
--- carob/test/TestStatement.cpp:1.5 Fri Nov 25 17:29:10 2005
+++ carob/test/TestStatement.cpp Mon Nov 28 13:50:12 2005
@@ -45,12 +45,12 @@
// We should receive an exception instead of coming here
CPPUNIT_ASSERT(false);
}
- catch (BackendException be)
+ catch (ControllerException ce)
{
if (isErrorEnabled())
{
logError(fctName, L"Read failed (this is ok). Exception: "
- + be.description());
+ + ce.description());
}
}
delete statementPtr;
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits