\section{cppcms\+:\+:json\+:\+:bad\+\_\+value\+\_\+cast Class Reference}
\label{classcppcms_1_1json_1_1bad__value__cast}\index{cppcms\+::json\+::bad\+\_\+value\+\_\+cast@{cppcms\+::json\+::bad\+\_\+value\+\_\+cast}}


The error that is thrown in case of bad conversion of \doxyref{json\+::value}{p.}{classcppcms_1_1json_1_1value} to ordinary value.  




{\ttfamily \#include $<$cppcms/json.\+h$>$}

Inheritance diagram for cppcms\+:\+:json\+:\+:bad\+\_\+value\+\_\+cast\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classcppcms_1_1json_1_1bad__value__cast}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bfseries bad\+\_\+value\+\_\+cast} (std\+::string const \&s)\label{classcppcms_1_1json_1_1bad__value__cast_ae5488c2e9118120c77aed3d6a8d291db}

\item 
{\bfseries bad\+\_\+value\+\_\+cast} (std\+::string const \&s, {\bf json\+\_\+type} actual)\label{classcppcms_1_1json_1_1bad__value__cast_a48dfeac7fe8c77a1301389c56f02ccf0}

\item 
{\bfseries bad\+\_\+value\+\_\+cast} (std\+::string const \&s, {\bf json\+\_\+type} expected, {\bf json\+\_\+type} actual)\label{classcppcms_1_1json_1_1bad__value__cast_af7622585625529d0a74f711ac5eaee29}

\item 
virtual const char $\ast$ {\bfseries what} () const   throw ()\label{classcppcms_1_1json_1_1bad__value__cast_ae83a58ae4345791c01df6a9541547ee8}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
The error that is thrown in case of bad conversion of \doxyref{json\+::value}{p.}{classcppcms_1_1json_1_1value} to ordinary value. 

When implementing \doxyref{json\+::traits}{p.}{structcppcms_1_1json_1_1traits} 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\+:\begin{DoxyCompactItemize}
\item 
cppcms/json.\+h\end{DoxyCompactItemize}
