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
Constructor & Destructor Documentation
◆ Error() [1/4]
◆ Error() [2/4]
Error::Error | ( | InternalError & | i | ) |
◆ Error() [3/4]
Error::Error | ( | const char * | name, |
const char * | message | ||
) |
◆ Error() [4/4]
Error::Error | ( | Message & | m | ) |
Definition at line 55 of file error.cpp.
References _int, and DBus::Message::_pvt.
◆ ~Error()
Member Function Documentation
◆ is_set()
◆ message()
const char * Error::message | ( | ) | const |
Definition at line 70 of file error.cpp.
References _int.
Referenced by Error(), DBus::ObjectAdaptor::handle_message(), DBus::ObjectAdaptor::return_error(), and set().
◆ name()
const char * Error::name | ( | ) | const |
Definition at line 65 of file error.cpp.
References _int.
Referenced by Error(), DBus::ObjectAdaptor::handle_message(), DBus::ObjectAdaptor::return_error(), and set().
◆ operator bool()
◆ set()
void Error::set | ( | const char * | name, |
const char * | message | ||
) |
◆ what()
const char * Error::what | ( | ) | const | |
throw | ( | |||
) |
Member Data Documentation
◆ _int
|
private |
The documentation for this class was generated from the following files: