Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class ptree_error

boost::property_tree::ptree_error — Base class for all property tree errors. Derives from std::runtime_error. Call member function what to get human readable message associated with the error.

Synopsis

// In header: <boost/property_tree/exceptions.hpp>


class ptree_error : public std::runtime_error {
public:

  // public member functions
  ptree_error(const std::string &);
};

Description

ptree_error public member functions

  1. ptree_error(const std::string & what);
    Instantiate a ptree_error instance with the given message.

    Parameters:

    what

    The message to associate with this error.


PrevUpHomeNext