19 #ifndef LIB_QUENTIER_EXCEPTION_I_QUENTIER_EXCEPTION_H
20 #define LIB_QUENTIER_EXCEPTION_I_QUENTIER_EXCEPTION_H
22 #include <quentier/utility/Printable.h>
23 #include <quentier/types/ErrorString.h>
44 QString localizedErrorMessage()
const;
45 QString nonLocalizedErrorMessage()
const;
47 virtual const char * what()
const noexcept
override;
49 virtual QTextStream & print(QTextStream & strm)
const override;
55 virtual const QString exceptionDisplayName()
const = 0;
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:44
The IQuentierException class represents the interface for exceptions specific to libquentier and appl...
Definition: IQuentierException.h:38
The Printable class is the interface for Quentier's internal classes which should be able to write th...
Definition: Printable.h:39