DBus::Error Class Reference

#include <error.h>

Inheritance diagram for DBus::Error:

DBus::ErrorAccessDenied DBus::ErrorAddressInUse DBus::ErrorAuthFailed DBus::ErrorBadAddress DBus::ErrorDisconnected DBus::ErrorFailed DBus::ErrorFileNotFound DBus::ErrorInvalidArgs DBus::ErrorInvalidSignature DBus::ErrorIOError DBus::ErrorLimitsExceeded DBus::ErrorMatchRuleInvalid DBus::ErrorMatchRuleNotFound DBus::ErrorNameHasNoOwner DBus::ErrorNoMemory DBus::ErrorNoNetwork DBus::ErrorNoReply DBus::ErrorNoServer DBus::ErrorNotSupported DBus::ErrorSELinuxSecurityContextUnknown DBus::ErrorServiceUnknown DBus::ErrorSpawnChildExited DBus::ErrorSpawnChildSignaled DBus::ErrorSpawnExecFailed DBus::ErrorSpawnFailed DBus::ErrorSpawnForkFailed DBus::ErrorTimedOut DBus::ErrorTimeout DBus::ErrorUnixProcessIdUnknown DBus::ErrorUnknownMethod

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


Detailed Description

Definition at line 38 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 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.

const char * Error::message (  )  const

Definition at line 70 of file error.cpp.

Referenced by DBus::ObjectAdaptor::return_error().

const char * Error::name (  )  const

Definition at line 65 of file error.cpp.

Referenced by DBus::ObjectAdaptor::return_error().

DBus::Error::operator bool (  )  const [inline]

Definition at line 63 of file error.h.

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

Definition at line 80 of file error.cpp.

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

Definition at line 85 of file error.cpp.


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

Generated on Sat Jul 11 11:14:28 2009 for libdbus-c++ by  doxygen 1.5.9