libkcal Library API Documentation

KCal::ErrorFormat Class Reference

Calendar format related error class. More...

#include <exceptions.h>

Inheritance diagram for KCal::ErrorFormat:

KCal::Exception List of all members.

Public Types

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

Public Member Functions

 ErrorFormat (ErrorCodeFormat code, const QString &message=QString::null)
 Create format error exception.

QString message ()
 Return format error message.

ErrorCodeFormat errorCode ()
 Return format error code.


Detailed Description

Calendar format related error class.

Definition at line 52 of file exceptions.h.


Constructor & Destructor Documentation

ErrorFormat::ErrorFormat ErrorCodeFormat  code,
const QString message = QString::null
 

Create format error exception.

Definition at line 44 of file exceptions.cpp.


Member Function Documentation

QString ErrorFormat::message  )  [virtual]
 

Return format error message.

Reimplemented from KCal::Exception.

Definition at line 50 of file exceptions.cpp.

References QString::isEmpty(), and message().

Referenced by message(), and KCal::DummyScheduler::retrieveTransactions().

ErrorFormat::ErrorCodeFormat ErrorFormat::errorCode  ) 
 

Return format error code.

Definition at line 87 of file exceptions.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 15 11:40:28 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001