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());
101 virtual ErrorCode
code()
const;
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.
Exception(const ErrorCode code, const QStringList &arguments=QStringList())
Construct an exception.
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-2026 The KDE developers.
Generated on
by
doxygen 1.15.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.