Boost C++ Libraries Home Libraries People FAQ More

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  {
public:
  // construct/copy/destruct
  ();
  ~();
};

Description

ptree_error public construct/copy/destruct

  1. ( what);
    Instantiate a ptree_error instance with the given message.

    Parameters:

    what

    The message to associate with this error.

  2. ~();

PrevUpHomeNext