2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-19 14:36:24 +00:00

for trac #256: completely revised the base32(hex) implementation by

generalizing the base64 logiic.  fully detailed tests are provided which now
pass.  documentation was also provided.
using this opportunity I moved non DNS helper classes/functions to a separate
'util' directory to make it clearer which  files are for the public API.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac256@2482 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
JINMEI Tatuya
2010-07-11 06:21:39 +00:00
parent 11d3ee7dd0
commit 96a06a2baf
31 changed files with 867 additions and 619 deletions

View File

@@ -104,7 +104,7 @@ private:
};
///
/// \brief A standard DNS module exception that is thrown if a parameter give
/// \brief A generic exception that is thrown if a parameter given
/// to a method would refer to or modify out-of-range data.
///
class OutOfRange : public Exception {
@@ -114,7 +114,17 @@ public:
};
///
/// \brief A standard DNS module exception that is thrown when an unexpected
/// \brief A generic exception that is thrown if a parameter given
/// to a method is considered invalid in that context.
///
class BadValue : public Exception {
public:
BadValue(const char* file, size_t line, const char* what) :
isc::Exception(file, line, what) {}
};
///
/// \brief A generic exception that is thrown when an unexpected
/// error condition occurs.
///
class Unexpected : public Exception {