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

Error::Error (  ) 

Definition at line 41 of file error.cpp.

Error::Error ( InternalError i  ) 

Definition at line 45 of file error.cpp.

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

Definition at line 49 of file error.cpp.

Error::Error ( Message m  ) 

Definition at line 55 of file error.cpp.

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

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

Definition at line 70 of file error.cpp.

References _int.

Referenced by DBus::ObjectAdaptor::handle_message(), and DBus::ObjectAdaptor::return_error().

const char * Error::name (  )  const

Definition at line 65 of file error.cpp.

References _int.

Referenced by DBus::ObjectAdaptor::handle_message(), and DBus::ObjectAdaptor::return_error().

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.

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

Definition at line 85 of file error.cpp.

References _int.


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: