Akonadi::Server::DbException

Search for usage in LXR

Akonadi::Server::DbException Class Reference

#include <dbexception.h>

Inheritance diagram for Akonadi::Server::DbException:

Public Member Functions

 DbException (const QSqlQuery &query, const char *what=nullptr)
 
const char * type () const override throw ()
 
- Public Member Functions inherited from Akonadi::Server::Exception
 Exception (const char *what) noexcept
 
 Exception (const Exception &)=default
 
 Exception (const QByteArray &what) noexcept
 
 Exception (const QString &what) noexcept
 
Exceptionoperator= (const Exception &)=default
 
const char * what () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from Akonadi::Server::Exception
QByteArray mWhat
 

Detailed Description

Exception for reporting SQL errors.

Definition at line 18 of file dbexception.h.

Constructor & Destructor Documentation

◆ DbException()

DbException::DbException ( const QSqlQuery & query,
const char * what = nullptr )
explicit

Definition at line 14 of file dbexception.cpp.

Member Function Documentation

◆ type()

const char * DbException::type ( ) const
throw ( )
overridevirtual

Reimplemented from Akonadi::Server::Exception.

Definition at line 21 of file dbexception.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 Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.