<html> <head> <title> JsonCpp - JSON data format manipulation library </title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table width="100%"> <tr> <td width="40%" align="left" valign="center"> <a href="https://github.com/open-source-parsers/jsoncpp"> JsonCpp project page </a> </td> <td width="40%" align="right" valign="center"> <a href="http://open-source-parsers.github.io/jsoncpp-docs/doxygen/">JsonCpp home page</a> </td> </tr> </table> <hr> <!-- Generated by Doxygen 1.8.8 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespace_json.html">Json</a></li><li class="navelem"><a class="el" href="class_json_1_1_exception.html">Exception</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="class_json_1_1_exception-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Json::Exception Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Base class for all exceptions we throw. <a href="class_json_1_1_exception.html#details">More...</a></p> <p><code>#include <<a class="el" href="value_8h_source.html">/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/value.h</a>></code></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Json::Exception:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="class_json_1_1_exception__inherit__graph.png" border="0" usemap="#_json_1_1_exception_inherit__map" alt="Inheritance graph"/></div> <map name="_json_1_1_exception_inherit__map" id="_json_1_1_exception_inherit__map"> <area shape="rect" id="node3" href="class_json_1_1_logic_error.html" title="Exceptions thrown by JSON_ASSERT/JSON_FAIL macros. " alt="" coords="5,285,188,363"/><area shape="rect" id="node4" href="class_json_1_1_runtime_error.html" title="Exceptions which the user cannot easily avoid. " alt="" coords="213,285,415,363"/><area shape="rect" id="node2" title="STL class. " alt="" coords="123,5,286,83"/></map> </div> <div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for Json::Exception:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="class_json_1_1_exception__coll__graph.png" border="0" usemap="#_json_1_1_exception_coll__map" alt="Collaboration graph"/></div> <map name="_json_1_1_exception_coll__map" id="_json_1_1_exception_coll__map"> <area shape="rect" id="node2" title="STL class. " alt="" coords="5,147,168,224"/><area shape="rect" id="node3" title="STL class. " alt="" coords="193,147,325,224"/><area shape="rect" id="node4" title="STL class. " alt="" coords="157,5,360,97"/></map> </div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a4dd1b9f007bed842e3ef9883d965fe22"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_exception.html#a4dd1b9f007bed842e3ef9883d965fe22">Exception</a> (std::string const &msg)</td></tr> <tr class="separator:a4dd1b9f007bed842e3ef9883d965fe22"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af39b318bae8837a3a93f1e4cd689aa48"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_exception.html#af39b318bae8837a3a93f1e4cd689aa48">~Exception</a> () throw ()</td></tr> <tr class="separator:af39b318bae8837a3a93f1e4cd689aa48"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a93032b715e86fc37ad318c60eac4cad7"><td class="memItemLeft" align="right" valign="top">virtual char const * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_exception.html#a93032b715e86fc37ad318c60eac4cad7">what</a> () const throw ()</td></tr> <tr class="separator:a93032b715e86fc37ad318c60eac4cad7"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:a6457bfa979e1bba636ba34605203f6a0"><td class="memItemLeft" align="right" valign="top">std::string const </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_exception.html#a6457bfa979e1bba636ba34605203f6a0">msg_</a></td></tr> <tr class="separator:a6457bfa979e1bba636ba34605203f6a0"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Base class for all exceptions we throw. </p> <p>We use nothing but these internally. Of course, STL can throw others. </p> <p>Definition at line <a class="el" href="value_8h_source.html#l00040">40</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a4dd1b9f007bed842e3ef9883d965fe22"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Json::Exception::Exception </td> <td>(</td> <td class="paramtype">std::string const & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="json__value_8cpp_source.html#l00155">155</a> of file <a class="el" href="json__value_8cpp_source.html">json_value.cpp</a>.</p> </div> </div> <a class="anchor" id="af39b318bae8837a3a93f1e4cd689aa48"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Json::Exception::~Exception </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> <tr> <td align="right">throw </td><td>(</td><td colspan="2"></td> </tr> <tr> <td align="right"></td><td>)</td><td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="json__value_8cpp_source.html#l00158">158</a> of file <a class="el" href="json__value_8cpp_source.html">json_value.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a93032b715e86fc37ad318c60eac4cad7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">char const * Json::Exception::what </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> <tr> <td align="right">throw </td><td>(</td><td colspan="2"></td> </tr> <tr> <td align="right"></td><td>)</td><td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="json__value_8cpp_source.html#l00160">160</a> of file <a class="el" href="json__value_8cpp_source.html">json_value.cpp</a>.</p> <p>References <a class="el" href="value_8h_source.html#l00046">msg_</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a class="anchor" id="a6457bfa979e1bba636ba34605203f6a0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::string const Json::Exception::msg_</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="value_8h_source.html#l00046">46</a> of file <a class="el" href="value_8h_source.html">value.h</a>.</p> <p>Referenced by <a class="el" href="json__value_8cpp_source.html#l00160">what()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/<a class="el" href="value_8h_source.html">value.h</a></li> <li>/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/src/lib_json/<a class="el" href="json__value_8cpp_source.html">json_value.cpp</a></li> </ul> </div><!-- contents --> <hr> </body> </html>