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.
Definition at line 82 of file exceptions.h.
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.
Destructor.
Definition at line 79 of file exceptions.cpp.
Member Function Documentation
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: