[svn] commit: r1741 - /branches/jinmei-ednsupdate/src/lib/exceptions/exceptions.h

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Apr 19 21:36:38 UTC 2010


Author: jinmei
Date: Mon Apr 19 21:36:38 2010
New Revision: 1741

Log:
backup for a private work branch

Modified:
    branches/jinmei-ednsupdate/src/lib/exceptions/exceptions.h

Modified: branches/jinmei-ednsupdate/src/lib/exceptions/exceptions.h
==============================================================================
--- branches/jinmei-ednsupdate/src/lib/exceptions/exceptions.h (original)
+++ branches/jinmei-ednsupdate/src/lib/exceptions/exceptions.h Mon Apr 19 21:36:38 2010
@@ -113,6 +113,12 @@
         isc::Exception(file, line, what) {}
 };
 
+class InvalidParameter : public Exception {
+public:
+    InvalidParameter(const char* file, size_t line, const char* what) :
+        isc::Exception(file, line, what) {}
+};
+
 ///
 /// \brief A standard DNS module exception that is thrown when an unexpected
 /// error condition occurs.




More information about the bind10-changes mailing list