Date: Wednesday, April 26, 2006 @ 12:39:19
  Author: gilles
    Path: /cvsroot/carob/carob/test/30-ResultSet

Modified: TestExecReadRequest.cpp (1.3 -> 1.4)

Changed catch of exception in dummy request execution: when seeing "dummy" 
statement, the controller does not fail anymore, it forwards the request to the 
backend, that throws the exception


-------------------------+
 TestExecReadRequest.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: carob/test/30-ResultSet/TestExecReadRequest.cpp
diff -u carob/test/30-ResultSet/TestExecReadRequest.cpp:1.3 
carob/test/30-ResultSet/TestExecReadRequest.cpp:1.4
--- carob/test/30-ResultSet/TestExecReadRequest.cpp:1.3 Fri Mar  3 16:54:13 2006
+++ carob/test/30-ResultSet/TestExecReadRequest.cpp     Wed Apr 26 12:39:18 2006
@@ -49,12 +49,12 @@
     // We should receive an exception instead of coming here
     CPPUNIT_ASSERT(false);
   }
-  catch (ControllerException ce)
+  catch (BackendException be)
   {
     if (isErrorEnabled())
     {
       logError(fctName, L"Read failed (this is ok). Exception: "
-          + ce.description());
+          + be.description());
     }
   }
 }

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to