Kea 2.7.0
io_error.h
Go to the documentation of this file.
1// Copyright (C) 2011-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
7
8#ifndef IO_ERROR_H
9#define IO_ERROR_H
10
12
13namespace isc {
14namespace asiolink {
15
19class IOError : public isc::Exception {
20public:
21 IOError(const char* file, size_t line, const char* what) :
22 isc::Exception(file, line, what) {}
23};
24
25} // namespace asiolink
26} // namespace isc
27
28#endif // IO_ERROR_H
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.
Defines the logger used by the top-level component of kea-lfc.