DBus::Error Class Reference

#include <error.h>

Inheritance diagram for DBus::Error:

List of all members.

Public Member Functions

 Error ()
 Error (InternalError &)
 Error (const char *name, const char *message)
 Error (Message &)
 ~Error () throw ()
const char * what () const throw ()
const char * name () const
const char * message () const
void set (const char *name, const char *message)
bool is_set () const
 operator bool () const

Private Attributes

RefPtrI< InternalError_int

Detailed Description

Definition at line 39 of file error.h.


Constructor & Destructor Documentation

Definition at line 41 of file error.cpp.

Definition at line 45 of file error.cpp.

Error::Error ( const char *  name,
const char *  message 
)

Definition at line 49 of file error.cpp.

References message(), and name().

Definition at line 55 of file error.cpp.

References _int, DBus::Message::_pvt, and DBus::InternalError::error.

Error::~Error ( ) throw ()

Definition at line 61 of file error.cpp.


Member Function Documentation

bool Error::is_set ( ) const

Definition at line 75 of file error.cpp.

References _int.

const char * Error::message ( ) const
const char * Error::name ( ) const
DBus::Error::operator bool ( ) const [inline]

Definition at line 64 of file error.h.

void Error::set ( const char *  name,
const char *  message 
)

Definition at line 80 of file error.cpp.

References _int, and DBus::InternalError::error.

const char * Error::what ( ) const throw ()

Definition at line 85 of file error.cpp.

References _int, and DBus::InternalError::error.


Member Data Documentation

Definition at line 71 of file error.h.

Referenced by Error(), is_set(), message(), name(), set(), and what().


The documentation for this class was generated from the following files: