2
0
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:
Michal 'vorner' Vaner
2011-08-04 11:23:49 +02:00
parent 3702df52de
commit ac08c1b86b

View File

@@ -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.
///