KCal Library
KCal::ErrorFormat Class Reference
#include <exceptions.h>
Inheritance diagram for KCal::ErrorFormat:
Public Types | |
| enum | ErrorCodeFormat { LoadError , SaveError , ParseErrorIcal , ParseErrorKcal , NoCalendar , CalVersion1 , CalVersion2 , CalVersionUnknown , Restriction , UserCancel , NoWritableFound } |
Public Member Functions | |
| ErrorFormat (ErrorCodeFormat code, const QString &message=QString()) | |
| ~ErrorFormat () | |
| ErrorCodeFormat | errorCode () |
| QString | message () |
| Public Member Functions inherited from KCal::Exception | |
| Exception (const QString &message=QString()) | |
| virtual | ~Exception () |
Additional Inherited Members | |
| Protected Attributes inherited from KCal::Exception | |
| QString | mMessage |
Detailed Description
Calendar format related error class.
Definition at line 82 of file exceptions.h.
Member Enumeration Documentation
◆ ErrorCodeFormat
The different types of Calendar format errors.
Definition at line 88 of file exceptions.h.
Constructor & Destructor Documentation
◆ ErrorFormat()
|
explicit |
Creates a format error exception.
Private class that helps to provide binary compatibility between releases.
- Parameters
-
code is the exception ErrorCodeFormat. message is the exception message string.
Definition at line 73 of file exceptions.cpp.
◆ ~ErrorFormat()
| ErrorFormat::~ErrorFormat | ( | ) |
Destructor.
Definition at line 79 of file exceptions.cpp.
Member Function Documentation
◆ errorCode()
| ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode | ( | ) |
Returns the format error code.
Definition at line 131 of file exceptions.cpp.
◆ message()
|
virtual |
Returns the format error message.
Reimplemented from KCal::Exception.
Definition at line 84 of file exceptions.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Thu Jul 24 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.