CppCMS
Public Member Functions
cppcms::json::bad_value_cast Class Reference

The error that is thrown in case of bad conversion of json::value to ordinary value. More...

#include <cppcms/json.h>

Inheritance diagram for cppcms::json::bad_value_cast:
booster::bad_cast booster::backtrace

List of all members.

Public Member Functions

 bad_value_cast (std::string const &s)
 bad_value_cast (std::string const &s, json_type actual)
 bad_value_cast (std::string const &s, json_type expected, json_type actual)
virtual const char * what () const throw ()

Detailed Description

The error that is thrown in case of bad conversion of json::value to ordinary value.

When implementing json::traits for complex classes you are expected to throw this exception in case of invalid formatting


The documentation for this class was generated from the following file: