Date: Thursday, January 11, 2007 @ 12:28:19
Author: marc
Path: /cvsroot/carob/carob/src
Modified: CarobException.cpp (1.26 -> 1.27)
UnexpectedException wrapping CarobException is set with chained SQLState
instead of unknown state
--------------------+
CarobException.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: carob/src/CarobException.cpp
diff -u carob/src/CarobException.cpp:1.26 carob/src/CarobException.cpp:1.27
--- carob/src/CarobException.cpp:1.26 Tue Dec 19 14:36:57 2006
+++ carob/src/CarobException.cpp Thu Jan 11 12:28:19 2007
@@ -115,7 +115,7 @@
woss << ce;
if (isErrorEnabled())
logError(L"convertUnexpectedException", woss.str());
- throw UnexpectedException(L"Unexpected CarobException", DEFAULTSQLSTATE,
&ce);
+ throw UnexpectedException(L"Unexpected CarobException", ce.getSQLState(),
&ce);
}
catch(std::exception& stde)
{
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits