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 () |
![]() | |
Exception (const QString &message=QString()) | |
virtual | ~Exception () |
Additional Inherited Members | |
![]() | |
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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.