libquentier  0.4.0
The library for rich desktop clients of Evernote service
Public Member Functions | Protected Member Functions | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for quentier::IQuentierException:
Collaboration graph
[legend]

Public Member Functions

 IQuentierException (const ErrorString &message)
 
QString localizedErrorMessage () const
 
QString nonLocalizedErrorMessage () const
 
virtual const char * what () const Q_DECL_OVERRIDE throw ()
 
virtual QTextStream & print (QTextStream &strm) const Q_DECL_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)
 

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.