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());
@ Restriction
Restriction violation.
virtual QStringList arguments() const
Returns the arguments.
ErrorCode
The different types of error codes.
@ CalVersionUnknown
Unknown calendar format detected.
@ CalVersion1
vCalendar v1.0 detected
virtual ~Exception()
Destructor.
ErrorCode mCode
The current exception code.
@ ParseErrorKcal
Parse error in libkcal.
@ ParseErrorIcal
Parse error in libical.
QStringList mArguments
Arguments to pass to i18n().
@ NoWritableFound
No writable resource is available.
Exception(const ErrorCode code, const QStringList &arguments=QStringList())
Construct an exception.
@ CalVersion2
iCalendar v2.0 detected
virtual ErrorCode code() const
Returns the error code.
@ UserCancel
User canceled the operation.
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
@ NoCalendar
No calendar component found.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.