KCalCore Library
Go to the documentation of this file.
36#ifndef KCALCORE_EXCEPTIONS_H
37#define KCALCORE_EXCEPTIONS_H
39#include "kcalcore_export.h"
41#include <QtCore/QString>
42#include <QtCore/QStringList>
73 VersionPropertyMissing,
75 ExpectedCalVersion2Unknown,
76 ParseErrorNotIncidence,
77 ParseErrorEmptyMessage,
78 ParseErrorUnableToParse,
79 ParseErrorMethodProperty
90 const QStringList &
arguments = QStringList());
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
ErrorCode
The different types of error codes.
@ ParseErrorKcal
Parse error in libkcal.
@ CalVersion2
iCalendar v2.0 detected
@ NoCalendar
No calendar component found.
@ UserCancel
User canceled the operation.
@ ParseErrorIcal
Parse error in libical.
@ Restriction
Restriction violation.
@ CalVersion1
vCalendar v1.0 detected
@ NoWritableFound
No writable resource is available.
@ CalVersionUnknown
Unknown calendar format detected.
virtual ~Exception()
Destructor.
ErrorCode mCode
The current exception code.
virtual QStringList arguments() const
Returns the arguments.
QStringList mArguments
Arguments to pass to i18n().
virtual ErrorCode code() const
Returns the error code.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by
doxygen 1.9.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.