This is a base class for exceptions thrown from the DNS library module.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
A standard DNS (or ISC) module exception that is thrown if a time conversion function encounters bad ...
InvalidTime(const char *file, size_t line, const char *what)
int64_t getTimeWrapper()
Return the current time in seconds.
uint32_t timeFromText32(const string &time_txt)
Convert textual DNSSEC time to integer, 32-bit version.
string timeToText64(uint64_t value)
Convert integral DNSSEC time to textual form, 64-bit version.
uint64_t timeFromText64(const string &time_txt)
Convert textual DNSSEC time to integer, 64-bit version.
string timeToText32(const uint32_t value)
Convert integral DNSSEC time to textual form, 32-bit version.
Defines the logger used by the top-level component of kea-lfc.