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

Click here to view the latest version of this page.
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:
  // construct/copy/destruct
  ptree_error(const std::string &);
  ~ptree_error();
};

Description

ptree_error public construct/copy/destruct

  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.

  2. ~ptree_error();

PrevUpHomeNext