libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
quentier::IQuentierException Class Referenceabstract

The IQuentierException class represents the interface for exceptions specific to libquentier and applications based on it. More...

#include <IQuentierException.h>

Inheritance diagram for quentier::IQuentierException:
Collaboration diagram for quentier::IQuentierException:

Public Member Functions

 IQuentierException (const ErrorString &message)
QString localizedErrorMessage () const
QString nonLocalizedErrorMessage () const
virtual const char * what () const noexcept override
virtual QTextStream & print (QTextStream &strm) const override
Public Member Functions inherited from quentier::Printable
virtual const QString toString () const

Protected Member Functions

 IQuentierException (const IQuentierException &other)
IQuentierExceptionoperator= (const IQuentierException &other)
virtual const QString exceptionDisplayName () const =0
Protected Member Functions inherited from quentier::Printable
 Printable (const Printable &other)
Printableoperator= (const Printable &other)

Detailed Description

The IQuentierException class represents the interface for exceptions specific to libquentier and applications based on it.

In addition to standard exception features inherited from std::exception, IQuentierException based exceptions can provide both localized and non-localized error messages.

Member Function Documentation

◆ print()

virtual QTextStream & quentier::IQuentierException::print ( QTextStream & strm) const
overridevirtual

Implements quentier::Printable.