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 <json/value.h>

Inherits std::exception.

Inherited by Json::LogicError, and Json::RuntimeError.

Public Member Functions

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

Protected Attributes

std::string 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 53 of file value.h.

Constructor & Destructor Documentation

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

Definition at line 181 of file json_value.cpp.

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

Definition at line 184 of file json_value.cpp.

Member Function Documentation

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

Definition at line 186 of file json_value.cpp.

References msg_.

Member Data Documentation

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

Definition at line 59 of file value.h.

Referenced by what().


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