Akonadi::Exception

Search for usage in LXR

Akonadi::Exception Class Reference

#include <exceptionbase.h>

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 29 of file exceptionbase.h.

Constructor & Destructor Documentation

◆ Exception() [1/3]

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

Creates a new exception with the error message what.

Definition at line 27 of file exception.cpp.

◆ Exception() [2/3]

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

Creates a new exception with the error message what.

Definition at line 35 of file exception.cpp.

◆ Exception() [3/3]

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

Creates a new exception with the error message what.

Definition at line 43 of file exception.cpp.

◆ ~Exception()

Exception< Ex >::~Exception ( )
overridedefault

Destructor.

Member Function Documentation

◆ type()

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

Returns the type of this exception.

Definition at line 55 of file exception.cpp.

◆ what()

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

Returns the error message associated with this exception.

Definition at line 65 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-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.