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

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

Public Member Functions

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

Constructor & Destructor Documentation

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

Create format error exception.

Definition at line 45 of file exceptions.cpp.


Member Function Documentation

ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode (  ) 

Return format error code.

Definition at line 88 of file exceptions.cpp.

QString ErrorFormat::message (  )  [virtual]

Return format error message.

Reimplemented from KCal::Exception.

Definition at line 51 of file exceptions.cpp.


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