Date: Thursday, January 5, 2006 @ 16:15:23
Author: gilles
Path: /cvsroot/carob/carob/include
Modified: CarobException.hpp (1.26 -> 1.27)
Added exception to be thrown when all controllers in the list (owned by the
driver) have been marked as probably down
--------------------+
CarobException.hpp | 14 ++++++++++++++
1 files changed, 14 insertions(+)
Index: carob/include/CarobException.hpp
diff -u carob/include/CarobException.hpp:1.26
carob/include/CarobException.hpp:1.27
--- carob/include/CarobException.hpp:1.26 Wed Dec 14 17:46:07 2005
+++ carob/include/CarobException.hpp Thu Jan 5 16:15:22 2006
@@ -214,6 +214,20 @@
};
/**
+ * Exception on connection send when no more controller is reachable in the
+ * controller list
+ */
+class NoMoreControllerException : public DriverException
+{
+public:
+ /**
+ * Constructs a NoMoreControllerException with the given message
+ * @param s error message of the exception
+ */
+ NoMoreControllerException(std::wstring s) : DriverException(s) {};
+};
+
+/**
* Exception thrown when client tries to retrieve a value that is NULL,
* typically via GetString() GetInt(), etc.
*/
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits