#include <exceptions.hpp>
Error indicating that translation from given value to the property tree data_type (or vice versa) failed. Derives from ptree_error.
Definition at line 40 of file exceptions.hpp.
◆ ptree_bad_data() [1/2]
template<class T >
| boost::property_tree::ptree_bad_data::ptree_bad_data |
( |
const std::string & |
what, |
|
|
const T & |
data |
|
) |
| |
Instantiate a ptree_bad_data instance with the given message and data.
- Parameters
-
| what | The message to associate with this error. |
| data | The value associated with this error that was the source of the translation failure. |
◆ ~ptree_bad_data()
| boost::property_tree::ptree_bad_data::~ptree_bad_data |
( |
| ) |
|
| throw | ( | |
| ) | | |
|
inline |
◆ ptree_bad_data() [2/2]
template<class D >
| boost::property_tree::ptree_bad_data::ptree_bad_data |
( |
const std::string & |
w, |
|
|
const D & |
d |
|
) |
| |
|
inline |
◆ data() [1/2]
template<class T >
| T boost::property_tree::ptree_bad_data::data |
( |
| ) |
const |
Retrieve the data associated with this error. This is the source value that failed to be translated. You need to explicitly specify its type.
◆ data() [2/2]
template<class D >
| D boost::property_tree::ptree_bad_data::data |
( |
| ) |
const |
|
inline |
◆ m_data
| boost::any boost::property_tree::ptree_bad_data::m_data |
|
private |
The documentation for this class was generated from the following files: