swift
Loading...
Searching...
No Matches
swift::misc::CJsonException Class Reference

Thrown when a convertFromJson method encounters an unrecoverable error in JSON data. More...

#include <jsonexception.h>

Inheritance diagram for swift::misc::CJsonException:
[legend]

Public Member Functions

 CJsonException (const QString &message)
 Constructor.
const QString & getStackTrace () const
 Get a stack trace of where in the JSON object tree the error occurred.
QString toString (const QString &prefix) const
 As string info.

Detailed Description

Thrown when a convertFromJson method encounters an unrecoverable error in JSON data.

Definition at line 23 of file jsonexception.h.

Constructor & Destructor Documentation

◆ CJsonException()

swift::misc::CJsonException::CJsonException ( const QString & message)
inlineexplicit

Constructor.

Definition at line 29 of file jsonexception.h.

Member Function Documentation

◆ anchor()

void swift::misc::CJsonException::anchor ( )
privatevirtual

Definition at line 21 of file jsonexception.cpp.

◆ getStackTrace()

const QString & swift::misc::CJsonException::getStackTrace ( ) const
inline

Get a stack trace of where in the JSON object tree the error occurred.

Definition at line 32 of file jsonexception.h.

◆ toString()

QString swift::misc::CJsonException::toString ( const QString & prefix) const

As string info.

Definition at line 23 of file jsonexception.cpp.


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