Date: Monday, December 4, 2006 @ 22:24:08
Author: marc
Path: /cvsroot/carob/carob/include
Modified: CarobException.hpp (1.49 -> 1.50)
Replaced ConnectionException(std::wstring s) constructor by the richer
ConnectionException(const std::wstring& messagePrm, const std::wstring&
SQLStatePrm, CarobException* causePrm, int vendorPrm);
--------------------+
CarobException.hpp | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
Index: carob/include/CarobException.hpp
diff -u carob/include/CarobException.hpp:1.49
carob/include/CarobException.hpp:1.50
--- carob/include/CarobException.hpp:1.49 Fri Dec 1 22:26:23 2006
+++ carob/include/CarobException.hpp Mon Dec 4 22:24:07 2006
@@ -203,10 +203,16 @@
{
public:
/**
- * Constructs a ConnectionException with the given message
- * @param s error message of the exception
- */
- ConnectionException(std::wstring s) : DriverException(s) {};
+ * Constructs a ConnectionException
+ *
+ * @see DriverException
+ */
+ ConnectionException(const std::wstring& messagePrm,
+ const std::wstring& SQLStatePrm = DEFAULTSQLSTATE,
+ CarobException* causePrm = 0,
+ int vendorPrm = DEFAULTVENDORCODE) :
+ DriverException(messagePrm, SQLStatePrm, causePrm, vendorPrm)
+ { }
};
/**
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits