JsonCpp project page Classes Namespace 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 (String msg)
 
 ~Exception () override throw ()
 
char const * what () const override throw ()
 

Protected Attributes

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 57 of file value.h.

Constructor & Destructor Documentation

◆ Exception()

Json::Exception::Exception ( String  msg)

Definition at line 205 of file json_value.cpp.

◆ ~Exception()

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

Member Function Documentation

◆ what()

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

Definition at line 207 of file json_value.cpp.

Member Data Documentation

◆ msg_

String Json::Exception::msg_
protected

Definition at line 64 of file value.h.


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