]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
new exception
authorwlodek <wlodek.wencel@gmail.com>
Mon, 13 Jan 2014 14:08:09 +0000 (15:08 +0100)
committerwlodek <wlodek.wencel@gmail.com>
Mon, 13 Jan 2014 14:08:09 +0000 (15:08 +0100)
src/lib/dhcpsrv/utils.h

index 26d98ceb26038820dfad6c18f645de0e3005f8db..99c864ebda19763d2e02f53133ed3c00c2a2edc5 100644 (file)
@@ -34,6 +34,21 @@ RFCViolation(const char* file, size_t line, const char* what) :
     isc::Exception(file, line, what) {}
 };
 
+class ServerID_mismatch : public isc::Exception {
+public:
+
+/// @brief constructor
+///
+/// @param file name of the file, where exception occurred
+/// @param line line of the file, where exception occurred
+/// @param what text description of the issue that caused exception
+ServerID_mismatch(const char* file, size_t line, const char* what) :
+    isc::Exception(file, line, what) {}
+};
+
+
+
+
 }; // namespace isc::dhcp
 }; // namespace isc