mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-10-05 13:26:03 +00:00
[trac1067] isc::NotImplemented exception
This commit is contained in:
@@ -136,6 +136,18 @@ public:
|
||||
isc::Exception(file, line, what) {}
|
||||
};
|
||||
|
||||
///
|
||||
/// \brief A generic exception that is thrown when a function is
|
||||
/// not implemented.
|
||||
///
|
||||
/// This may be due to unfinished implementation or in case the
|
||||
/// function isn't even planned to be provided for that situation.
|
||||
class NotImplemented : public Exception {
|
||||
public:
|
||||
NotImplemented(const char* file, size_t line, const char* what) :
|
||||
isc::Exception(file, line, what) {}
|
||||
};
|
||||
|
||||
///
|
||||
/// A shortcut macro to insert known values into exception arguments.
|
||||
///
|
||||
|
Reference in New Issue
Block a user