JsonCpp project page JsonCpp home page

Public Member Functions | Protected Attributes | List of all members
Json::Exception Class Reference

Base class for all exceptions we throw. More...

#include </home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/value.h>

+ Inheritance diagram for Json::Exception:
+ Collaboration diagram for Json::Exception:

Public Member Functions

 Exception (std::string const &msg)
 
virtual ~Exception () throw ()
 
virtual char const * what () const throw ()
 

Protected Attributes

std::string const msg_
 

Detailed Description

Base class for all exceptions we throw.

We use nothing but these internally. Of course, STL can throw others.

Definition at line 40 of file value.h.

Constructor & Destructor Documentation

Json::Exception::Exception ( std::string const &  msg)

Definition at line 155 of file json_value.cpp.

Json::Exception::~Exception ( )
throw (
)
virtual

Definition at line 158 of file json_value.cpp.

Member Function Documentation

char const * Json::Exception::what ( ) const
throw (
)
virtual

Definition at line 160 of file json_value.cpp.

References msg_.

Member Data Documentation

std::string const Json::Exception::msg_
protected

Definition at line 46 of file value.h.

Referenced by what().


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