Kea 2.7.5
lease_cmds_exceptions.h
Go to the documentation of this file.
1// Copyright (C) 2022-2024 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
8
9#ifndef LEASE_CMDS_EXCEPTIONS_H
10#define LEASE_CMDS_EXCEPTIONS_H
11
20public:
21 LeaseCmdsConflict(const char* file, size_t line, const char* what) :
22 isc::Exception(file, line, what) { }
23};
24
25#endif // LEASE_CMDS_EXCEPTIONS_H
Exception thrown when a command failed due to a conflict.
LeaseCmdsConflict(const char *file, size_t line, const char *what)
This is a base class for exceptions thrown from the DNS library module.
Exception(const char *file, size_t line, const char *what)
Constructor for a given type for exceptions with file name and file line number.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
Defines the logger used by the top-level component of kea-lfc.