Kea  1.9.9-git
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
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-dhcp-ddns.