Kea
1.5.0
dhcpsrv_exceptions.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef DHCPSRV_EXCEPTIONS_H
8
#define DHCPSRV_EXCEPTIONS_H
9
10
#include <
exceptions/exceptions.h
>
11
12
namespace
isc
{
13
namespace
dhcp {
14
16
class
NoSuchLease
:
public
Exception
{
17
public
:
18
NoSuchLease
(
const
char
* file,
size_t
line,
const
char
*
what
) :
19
isc
::
Exception
(file, line,
what
) {}
20
};
21
22
23
}
// end of namespace isc::dhcp
24
}
// end of namespace isc
25
26
#endif // DHCPSRV_EXCEPTIONS_H
isc::dhcp::NoSuchLease::NoSuchLease
NoSuchLease(const char *file, size_t line, const char *what)
Definition:
dhcpsrv_exceptions.h:18
isc::Exception
This is a base class for exceptions thrown from the DNS library module.
Definition:
exceptions/exceptions.h:23
isc::dhcp::NoSuchLease
Attempt to update lease that was not there.
Definition:
dhcpsrv_exceptions.h:16
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::Exception::what
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Definition:
exceptions/exceptions.cc:32
exceptions.h
src
lib
dhcpsrv
dhcpsrv_exceptions.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18