akonadi
20 #ifndef AKONADI_EXCEPTION_H 21 #define AKONADI_EXCEPTION_H 23 #include "akonadi_export.h" 25 #include <QtCore/QByteArray> 35 class 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 ) \ 79 class 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(); \ 89 AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE( PayloadException );
91 #undef AKONADI_EXCEPTION_MAKE_TRIVIAL_INSTANCE FreeBusyManager::Singleton.
Base class for exceptions used by the Akonadi library.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Mon Aug 7 2017 09:24:53 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.