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 Methods

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

Detailed Description

Calendar format related error class.

Definition at line 64 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().

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 libkcal Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:24 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003