30 const
char *
what() const throw() override;
45 virtual QString
format(
const char *
id,
const char *defaultFormat, ...) const noexcept;
48 mutable QString m_what;
virtual QString getWhat() const noexcept
Get a human readable string describing the exception.
Definition BaseException.h:34
virtual QString format(const char *id, const char *defaultFormat,...) const noexcept
Format a string.
Definition BaseException.cpp:38
BaseException()
Use getWhat() as the result of what().
Definition BaseException.cpp:18
const char * what() const override
Reason for exception.
Definition BaseException.cpp:28
~BaseException() override=default