Akonadi::Exception Class
class Akonadi::Exception| Header: | #include <Akonadi/ExceptionBase> |
| CMake: | find_package(KPim6 REQUIRED COMPONENTS AkonadiCore)target_link_libraries(mytarget PRIVATE KPim6::AkonadiCore) |
Public Functions
| Exception(const QByteArray &what) | |
| Exception(const QString &what) | |
| Exception(const char *what) | |
| virtual | ~Exception() override |
| virtual QByteArray | type() const |
Reimplemented Public Functions
| virtual const char * | what() const override |
Detailed Description
Base class for exceptions used by the Akonadi library.
Member Function Documentation
[explicit] Exception::Exception(const QByteArray &what)
Creates a new exception with the error message what.
[explicit] Exception::Exception(const QString &what)
Creates a new exception with the error message what.
[explicit] Exception::Exception(const char *what)
Creates a new exception with the error message what.
[override virtual noexcept] Exception::~Exception()
Destructor.
[virtual] QByteArray Exception::type() const
Returns the type of this exception.
[override virtual noexcept] const char *Exception::what() const
Returns the error message associated with this exception.