JsonCpp project page Classes Namespace JsonCpp home page

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 () noexcept override
 
char const * what () const noexcept override
 

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.

Constructor & Destructor Documentation

◆ Exception()

Json::Exception::Exception ( String  msg)

◆ ~Exception()

Json::Exception::~Exception ( )
overridedefaultnoexcept

Member Function Documentation

◆ what()

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

Member Data Documentation

◆ msg_

String Json::Exception::msg_
protected

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