Akonadi::Exception

Akonadi::Exception Class Reference

#include <exceptionbase.h>

Inherits exception.

Public Member Functions

 Exception (const char *what)
 
 Exception (const QByteArray &what)
 
 Exception (const QString &what)
 
 Exception (Exception &&) noexcept
 
 ~Exception () override
 
virtual QByteArray type () const
 
const char * what () const noexcept override
 

Detailed Description

Base class for exceptions used by the Akonadi library.

Definition at line 30 of file exceptionbase.h.

Constructor & Destructor Documentation

Exception< Ex >::Exception ( const char *  what)
explicit

Creates a new exception with the error message what.

Definition at line 24 of file exception.cpp.

Exception< Ex >::Exception ( const QByteArray what)
explicit

Creates a new exception with the error message what.

Definition at line 32 of file exception.cpp.

Exception< Ex >::Exception ( const QString what)
explicit

Creates a new exception with the error message what.

Definition at line 40 of file exception.cpp.

Exception< Ex >::~Exception ( )
overridedefault

Destructor.

Member Function Documentation

QByteArray Exception< Ex >::type ( ) const
virtual

Returns the type of this exception.

Definition at line 52 of file exception.cpp.

const char * Exception< Ex >::what ( ) const
overridenoexcept

Returns the error message associated with this exception.

Definition at line 62 of file exception.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Sep 25 2020 23:17:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.