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 () |
Detailed Description
Calendar format related error class.
Member Enumeration Documentation
The different types of Calendar format errors.
- Enumerator:
Definition at line 88 of file exceptions.h.
Constructor & Destructor Documentation
ErrorFormat::ErrorFormat | ( | ErrorCodeFormat | code, |
const QString & | message = QString() |
||
) | [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 | ( | ) |
Destructor.
Definition at line 79 of file exceptions.cpp.
Member Function Documentation
ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode | ( | ) |
Returns the format error code.
Definition at line 131 of file exceptions.cpp.
QString ErrorFormat::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-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:07 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:10:07 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.