The fallback_to_throw
policy results in throwing an exception if the attribute value cannot be extracted.
More...
#include <fallback_policy.hpp>
|
template<typename FunT > |
static bool | apply_default (FunT &) |
| The method is called in order to apply a function object to the default value. More...
|
|
template<typename FunT > |
static bool | apply_default (FunT const &) |
| The method is called in order to apply a function object to the default value. More...
|
|
static void | on_invalid_type (type_info_wrapper const &t) |
| The method is called when value extraction failed because the attribute value has different type than requested. More...
|
|
static void | on_missing_value () |
| The method is called when value extraction failed because the attribute value was not found. More...
|
|
The fallback_to_throw
policy results in throwing an exception if the attribute value cannot be extracted.
Enumerator |
---|
guaranteed_result |
|
template<typename FunT >
static bool boost::fallback_to_throw::apply_default |
( |
FunT & |
| ) |
|
|
inlinestatic |
The method is called in order to apply a function object to the default value.
template<typename FunT >
static bool boost::fallback_to_throw::apply_default |
( |
FunT const & |
| ) |
|
|
inlinestatic |
The method is called in order to apply a function object to the default value.
The method is called when value extraction failed because the attribute value has different type than requested.
References BOOST_LOG_THROW_DESCR_PARAMS.
static void boost::fallback_to_throw::on_missing_value |
( |
| ) |
|
|
inlinestatic |
The method is called when value extraction failed because the attribute value was not found.
References BOOST_LOG_THROW_DESCR.
The documentation for this struct was generated from the following file: