Akonadi::Exception Class Reference

Base class for exceptions used by the Akonadi library. More...

#include <exception.h>

Inherits std::exception.

List of all members.

Public Member Functions

 Exception (const Exception &other) throw ()
 Exception (const QString &what) throw ()
 Exception (const QByteArray &what) throw ()
 Exception (const char *what) throw ()
virtual ~Exception () throw ()
virtual QByteArray type () const throw ()
const char * what () const throw ()

Detailed Description

Base class for exceptions used by the Akonadi library.

Definition at line 35 of file exception.h.


Constructor & Destructor Documentation

Akonadi::Exception::Exception ( const char *  what  )  throw ()

Creates a new exception with the error message what.

Definition at line 34 of file exception.cpp.

Akonadi::Exception::Exception ( const QByteArray &  what  )  throw ()

Creates a new exception with the error message what.

Definition at line 40 of file exception.cpp.

Akonadi::Exception::Exception ( const QString &  what  )  throw ()

Creates a new exception with the error message what.

Definition at line 46 of file exception.cpp.

Akonadi::Exception::Exception ( const Exception other  )  throw ()

Copy constructor.

Definition at line 52 of file exception.cpp.

Akonadi::Exception::~Exception (  )  throw () [virtual]

Destructor.

Definition at line 58 of file exception.cpp.


Member Function Documentation

QByteArray Akonadi::Exception::type (  )  const throw () [virtual]

Returns the type of this exception.

Definition at line 63 of file exception.cpp.

const char * Akonadi::Exception::what (  )  const throw ()

Returns the error message associated with this exception.

Definition at line 68 of file exception.cpp.


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