Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class ptree_bad_path

boost::property_tree::ptree_bad_path — Error indicating that specified path does not exist. Derives from ptree_error.

Synopsis

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


class ptree_bad_path : public  {
public:
  // construct/copy/destruct
  template<typename T> (, );
  ~();

  // public member functions
  template<typename T>  () ;
};

Description

ptree_bad_path public construct/copy/destruct

  1. template<typename T> ( what,  path);
    Instantiate a ptree_bad_path with the given message and path data.

    Parameters:

    path

    The path that could not be found in the property_tree.

    what

    The message to associate with this error.

  2. ~();

ptree_bad_path public member functions

  1. template<typename T>  () ;
    Retrieve the invalid path. You need to explicitly specify the type of path.

PrevUpHomeNext