"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/database/database_connection.h" between
kea-1.6.1.tar.gz and kea-1.6.2.tar.gz

About: Kea is a modern DHCPv4 & DHCPv6 Server (potential successor of ISC DHCP).

database_connection.h  (kea-1.6.1):database_connection.h  (kea-1.6.2)
// Copyright (C) 2015-2019 Internet Systems Consortium, Inc. ("ISC") // Copyright (C) 2015-2020 Internet Systems Consortium, Inc. ("ISC")
// //
// This Source Code Form is subject to the terms of the Mozilla Public // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this // License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/. // file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef DATABASE_CONNECTION_H #ifndef DATABASE_CONNECTION_H
#define DATABASE_CONNECTION_H #define DATABASE_CONNECTION_H
#include <cc/data.h> #include <cc/data.h>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
skipping to change at line 42 skipping to change at line 42
isc::Exception(file, line, what) {} isc::Exception(file, line, what) {}
}; };
/// @brief Exception thrown on failure to execute a database function /// @brief Exception thrown on failure to execute a database function
class DbOperationError : public Exception { class DbOperationError : public Exception {
public: public:
DbOperationError(const char* file, size_t line, const char* what) : DbOperationError(const char* file, size_t line, const char* what) :
isc::Exception(file, line, what) {} isc::Exception(file, line, what) {}
}; };
/// @brief Exception thrown when connectivity has been lost and
/// cannot be recovered.
class DbUnrecoverableError : public Exception {
public:
DbUnrecoverableError(const char* file, size_t line, const char* what) :
isc::Exception(file, line, what) {}
};
/// @brief Invalid type exception /// @brief Invalid type exception
/// ///
/// Thrown when the factory doesn't recognize the type of the backend. /// Thrown when the factory doesn't recognize the type of the backend.
class InvalidType : public Exception { class InvalidType : public Exception {
public: public:
InvalidType(const char* file, size_t line, const char* what) : InvalidType(const char* file, size_t line, const char* what) :
isc::Exception(file, line, what) {} isc::Exception(file, line, what) {}
}; };
/// @brief Invalid Timeout /// @brief Invalid Timeout
 End of changes. 2 change blocks. 
1 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)