libkcal

KCal::ErrorFormat Class Reference

#include <exceptions.h>

Inheritance diagram for KCal::ErrorFormat:

KCal::Exception

List of all members.


Detailed Description

Calendar format related error class.

Definition at line 64 of file exceptions.h.


Public Types

enum  ErrorCodeFormat {
  LoadError, SaveError, ParseErrorIcal, ParseErrorKcal,
  NoCalendar, CalVersion1, CalVersion2, CalVersionUnknown,
  Restriction, UserCancel
}

Public Member Functions

 ErrorFormat (ErrorCodeFormat code, const QString &message=QString::null)
QString message ()
ErrorCodeFormat errorCode ()

Member Enumeration Documentation

The different types of Calendar format errors.

Enumerator:
LoadError  Load error.
SaveError  Save error.
ParseErrorIcal  Parse error in libical.
ParseErrorKcal  Parse error in libkcal.
NoCalendar  No calendar component found.
CalVersion1  vCalendar v1.0 detected
CalVersion2  iCalendar v2.0 detected
CalVersionUnknown  Unknown calendar format detected.
Restriction  Restriction violation.
UserCancel  User canceled the operation.

Definition at line 70 of file exceptions.h.


Constructor & Destructor Documentation

ErrorFormat::ErrorFormat ( ErrorCodeFormat  code,
const QString &  message = QString::null 
)

Create format error exception.

Definition at line 48 of file exceptions.cpp.


Member Function Documentation

QString ErrorFormat::message (  )  [virtual]

Return format error message.

Reimplemented from KCal::Exception.

Definition at line 54 of file exceptions.cpp.

ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode (  ) 

Return format error code.

Definition at line 98 of file exceptions.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys