akonadi
20#ifndef AKONADI_EXCEPTION_H
21#define AKONADI_EXCEPTION_H
23#include "akonadi_export.h"
25#include <QtCore/QByteArray>
35class AKONADI_EXPORT
Exception :
public std::exception
46 Exception(
const QByteArray &what)
throw();
66 const char *what()
const throw();
71 virtual QByteArray type()
const throw();
78#define AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE( classname ) \
79class AKONADI_EXPORT classname : public Akonadi::Exception \
82 classname ( const char *what ) throw() : Akonadi::Exception( what ) {} \
83 classname ( const QByteArray &what ) throw() : Akonadi::Exception( what ) {} \
84 classname ( const QString &what ) throw() : Akonadi::Exception( what ) {} \
85 ~classname() throw(); \
86 QByteArray type() const throw(); \
89AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE( PayloadException );
91#undef AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE
Base class for exceptions used by the Akonadi library.
FreeBusyManager::Singleton.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.