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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user