diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:35:17 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:35:17 (GMT) |
commit | a135c6ff4dcded5661a2321512960b14cf8c15c8 (patch) | |
tree | b0017ecfe702304f592b9d4e8b943784cff26fb2 /3rdParty/Boost/src/boost/property_tree/exceptions.hpp | |
parent | 02d6188ab335e6c62b8341b84579d9549d215118 (diff) | |
download | swift-contrib-a135c6ff4dcded5661a2321512960b14cf8c15c8.zip swift-contrib-a135c6ff4dcded5661a2321512960b14cf8c15c8.tar.bz2 |
Updated Boost to 1.46.1.
This should hopefuily fix a hang on shutdown on Mac OS X.
Resolves: #782
Release-Notes: Fixed a potential hang on shutdown on Mac OS X.
Diffstat (limited to '3rdParty/Boost/src/boost/property_tree/exceptions.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/property_tree/exceptions.hpp | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/3rdParty/Boost/src/boost/property_tree/exceptions.hpp b/3rdParty/Boost/src/boost/property_tree/exceptions.hpp deleted file mode 100644 index 42e2cbd..0000000 --- a/3rdParty/Boost/src/boost/property_tree/exceptions.hpp +++ /dev/null @@ -1,84 +0,0 @@ -// ---------------------------------------------------------------------------- -// Copyright (C) 2002-2006 Marcin Kalicinski -// Copyright (C) 2009 Sebastian Redl -// -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// For more information, see www.boost.org -// ---------------------------------------------------------------------------- - -#ifndef BOOST_PROPERTY_TREE_EXCEPTIONS_HPP_INCLUDED -#define BOOST_PROPERTY_TREE_EXCEPTIONS_HPP_INCLUDED - -#include <boost/property_tree/ptree_fwd.hpp> - -#include <boost/any.hpp> -#include <string> -#include <stdexcept> - -namespace boost { namespace property_tree -{ - - /// Base class for all property tree errors. Derives from - /// @c std::runtime_error. Call member function @c what to get human - /// readable message associated with the error. - class ptree_error : public std::runtime_error - { - public: - /// Instantiate a ptree_error instance with the given message. - /// @param what The message to associate with this error. - ptree_error(const std::string &what); - - ~ptree_error() throw(); - }; - - - /// Error indicating that translation from given value to the property tree - /// data_type (or vice versa) failed. Derives from ptree_error. - class ptree_bad_data : public ptree_error - { - public: - /// Instantiate a ptree_bad_data instance with the given message and - /// data. - /// @param what The message to associate with this error. - /// @param data The value associated with this error that was the source - /// of the translation failure. - template<class T> ptree_bad_data(const std::string &what, - const T &data); - - ~ptree_bad_data() throw(); - - /// Retrieve the data associated with this error. This is the source - /// value that failed to be translated. - template<class T> T data(); - private: - boost::any m_data; - }; - - - /// Error indicating that specified path does not exist. Derives from - /// ptree_error. - class ptree_bad_path : public ptree_error - { - public: - /// Instantiate a ptree_bad_path with the given message and path data. - /// @param what The message to associate with this error. - /// @param path The path that could not be found in the property_tree. - template<class T> ptree_bad_path(const std::string &what, - const T &path); - - ~ptree_bad_path() throw(); - - /// Retrieve the invalid path. - template<class T> T path(); - private: - boost::any m_path; - }; - -}} - -#include <boost/property_tree/detail/exception_implementation.hpp> - -#endif |