DBus::Error Class Reference
#include <error.h>
Inheritance diagram for DBus::Error:

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 | ( | InternalError & | i | ) |
| Error::Error | ( | Message & | m | ) |
Definition at line 55 of file error.cpp.
References _int, and DBus::Message::_pvt.
Member Function Documentation
| 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().
| void Error::set | ( | const char * | name, | |
| const char * | message | |||
| ) |
| const char * Error::what | ( | ) | const throw () |
Member Data Documentation
RefPtrI<InternalError> DBus::Error::_int [private] |
The documentation for this class was generated from the following files: