Kea
1.5.0
io_error.h
Go to the documentation of this file.
1
// Copyright (C) 2011-2015 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
11
#include <
exceptions/exceptions.h
>
12
13
namespace
isc
{
14
namespace
asiolink
{
15
19
class
IOError
:
public
isc::Exception
{
20
public
:
21
IOError
(
const
char
* file,
size_t
line,
const
char
*
what
) :
22
isc
::
Exception
(file, line,
what
) {}
23
};
24
25
26
}
// namespace asiolink
27
}
// namespace isc
28
29
#endif // IO_ERROR_H
isc::Exception
This is a base class for exceptions thrown from the DNS library module.
Definition:
exceptions/exceptions.h:23
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
isc::asiolink::IOError::IOError
IOError(const char *file, size_t line, const char *what)
Definition:
io_error.h:21
asiolink
A wrapper interface for the ASIO library.
exceptions.h
isc::asiolink::IOError
An exception that is thrown if an error occurs within the IO module.
Definition:
io_error.h:19
src
lib
asiolink
io_error.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18