libkcal

KCal::ErrorFormat Class Reference

Calendar format related error class. More...

#include <exceptions.h>

Inheritance diagram for KCal::ErrorFormat:

List of all members.


Public Types

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

Public Member Functions

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

Detailed Description

Calendar format related error class.

Definition at line 64 of file exceptions.h.


Member Enumeration Documentation

Enumerator:
LoadError 
SaveError 
ParseErrorIcal 
ParseErrorKcal 
NoCalendar 
CalVersion1 
CalVersion2 
CalVersionUnknown 
Restriction 

Definition at line 67 of file exceptions.h.


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: