glibmm 2.34.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
Gio::DBus::Error Class Reference

`#include <giomm/dbuserror.h>`

Inheritance diagram for Gio::DBus::Error:
[legend]

## Public Types
enum | Code { FAILED, NO_MEMORY, SERVICE_UNKNOWN, NAME_HAS_NO_OWNER, NO_REPLY, IO_ERROR, BAD_ADDRESS, NOT_SUPPORTED, LIMITS_EXCEEDED, ACCESS_DENIED, AUTH_FAILED, NO_SERVER, TIMEOUT, NO_NETWORK, ADDRESS_IN_USE, DISCONNECTED, INVALID_ARGS, FILE_NOT_FOUND, FILE_EXISTS, UNKNOWN_METHOD, TIMED_OUT, MATCH_RULE_NOT_FOUND, MATCH_RULE_INVALID, SPAWN_EXEC_FAILED, SPAWN_FORK_FAILED, SPAWN_CHILD_EXITED, SPAWN_CHILD_SIGNALED, SPAWN_FAILED, SPAWN_SETUP_FAILED, SPAWN_CONFIG_INVALID, SPAWN_SERVICE_INVALID, SPAWN_SERVICE_NOT_FOUND, SPAWN_PERMISSIONS_INVALID, SPAWN_FILE_INVALID, SPAWN_NO_MEMORY, UNIX_PROCESS_ID_UNKNOWN, INVALID_SIGNATURE, INVALID_FILE_CONTENT, SELINUX_SECURITY_CONTEXT_UNKNOWN, ADT_AUDIT_DATA_UNKNOWN, OBJECT_PATH_IN_USE }

## Public Member Functions
| Error (Code error_code, const Glib::ustring& error_message)
| Error (GError* gobject)
Code | code () const
Public Member Functions inherited from Glib::Error
| Error ()
| Error (GQuark domain, int code, const Glib::ustring& message)
| Error (GError* gobject, bool take_copy=false)
| Error (const Error& other)
Error& | operator= (const Error& other)
virtual | ~Error () throw ()
GQuark | domain () const
int | code () const
virtual Glib::ustring | what () const
bool | matches (GQuark domain, int code) const
GError* | gobj ()
const GError* | gobj () const
Public Member Functions inherited from Glib::Exception
virtual | ~Exception ()=0 throw ()

## Additional Inherited Members
Protected Attributes inherited from Glib::Error
GError* | gobject_

## Member Enumeration Documentation

enum Gio::DBus::Error::Code

Enumerator:

  FAILED |
  NO_MEMORY |
  SERVICE_UNKNOWN |
  NAME_HAS_NO_OWNER |
  NO_REPLY |
  IO_ERROR |
  BAD_ADDRESS |
  NOT_SUPPORTED |
  LIMITS_EXCEEDED |
  ACCESS_DENIED |
  AUTH_FAILED |
  NO_SERVER |
  TIMEOUT |
  NO_NETWORK |
  ADDRESS_IN_USE |
  DISCONNECTED |
  INVALID_ARGS |
  FILE_NOT_FOUND |
  FILE_EXISTS |
  UNKNOWN_METHOD |
  TIMED_OUT |
  MATCH_RULE_NOT_FOUND |
  MATCH_RULE_INVALID |
  SPAWN_EXEC_FAILED |
  SPAWN_FORK_FAILED |
  SPAWN_CHILD_EXITED |
  SPAWN_CHILD_SIGNALED |
  SPAWN_FAILED |
  SPAWN_SETUP_FAILED |
  SPAWN_CONFIG_INVALID |
  SPAWN_SERVICE_INVALID |
  SPAWN_SERVICE_NOT_FOUND |
  SPAWN_PERMISSIONS_INVALID |
  SPAWN_FILE_INVALID |
  SPAWN_NO_MEMORY |
  UNIX_PROCESS_ID_UNKNOWN |
  INVALID_SIGNATURE |
  INVALID_FILE_CONTENT |
  SELINUX_SECURITY_CONTEXT_UNKNOWN |
  ADT_AUDIT_DATA_UNKNOWN |
  OBJECT_PATH_IN_USE |

## Constructor & Destructor Documentation

Gio::DBus::Error::Error | ( | Code | error_code,
|  | const Glib::ustring& | error_message
| ) |  |

Gio::DBus::Error::Error | ( | GError * | gobject | ) |
| explicit

## Member Function Documentation

Code Gio::DBus::Error::code | ( |  | ) | const