Interface DBusError


public interface DBusError
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Security restrictions don't allow doing what you're trying to do.
    static final int
    Can't bind a socket since its address is in use (i.e.
    static final int
    Asked for ADT audit data and it wasn't available.
    static final int
    Authentication didn't work.
    static final int
    A D-Bus bus address was malformed.
    static final int
    The connection is disconnected and you're trying to use it.
    static final int
    A generic error; "something went wrong" - see the error message for
    more.
    static final int
    Existing file and the operation you're using does not silently overwrite.
    static final int
    Missing file.
    static final int
    Invalid arguments passed to a method call.
    static final int
    A file contains invalid syntax or is otherwise broken.
    static final int
    A type signature is not valid.
    static final int
    Something went wrong reading or writing to a socket, for example.
    static final int
    Some limited resource is exhausted.
    static final int
    The match rule isn't syntactically valid.
    static final int
    Tried to remove or modify a match rule that didn't exist.
    static final int
    The bus name you referenced doesn't exist (i.e. no application owns
    it).
    static final int
    There was not enough memory to complete an operation.
    static final int
    No network access (probably ENETUNREACH on a socket).
    static final int
    No reply to a message expecting one, usually means a timeout occurred.
    static final int
    Unable to connect to server (probably caused by ECONNREFUSED on a
    socket).
    static final int
    Requested operation isn't supported (like ENOSYS on UNIX).
    static final int
    There's already an object with the requested object path.
    static final int
    Property you tried to set is read-only.
    static final int
    Asked for SELinux security context and it wasn't available.
    static final int
    The bus doesn't know how to launch a service to supply the bus name
    you wanted.
    static final int
    While starting a new process, the child exited with a status code.
    static final int
    While starting a new process, the child exited on a signal.
    static final int
    We failed to setup the config parser correctly.
    static final int
    While starting a new process, the exec() call failed.
    static final int
    While starting a new process, something went wrong.
    static final int
    Service file invalid (Name, User or Exec missing).
    static final int
    While starting a new process, the fork() call failed.
    static final int
    Tried to get a UNIX process ID and it wasn't available.
    static final int
    Permissions are incorrect on the setuid helper.
    static final int
    Bus name was not valid.
    static final int
    Service file not found in system-services directory.
    static final int
    We failed to setup the environment correctly.
    static final int
    Certain timeout errors, e.g. while starting a service.
    static final int
    Certain timeout errors, possibly ETIMEDOUT on a socket.
    static final int
    Tried to get a UNIX process ID and it wasn't available.
    static final int
    Interface you invoked a method on isn't known by the object.
    static final int
    Method name you invoked isn't known by the object you invoked it on.
    static final int
    Object you invoked a method on isn't known.
    static final int
    Property you tried to access isn't known by the object.
  • Field Details

    • FAILED

      static final int FAILED
      A generic error; "something went wrong" - see the error message for
      more.
      See Also:
    • NO_MEMORY

      static final int NO_MEMORY
      There was not enough memory to complete an operation.
      See Also:
    • SERVICE_UNKNOWN

      static final int SERVICE_UNKNOWN
      The bus doesn't know how to launch a service to supply the bus name
      you wanted.
      See Also:
    • NAME_HAS_NO_OWNER

      static final int NAME_HAS_NO_OWNER
      The bus name you referenced doesn't exist (i.e. no application owns
      it).
      See Also:
    • NO_REPLY

      static final int NO_REPLY
      No reply to a message expecting one, usually means a timeout occurred.
      See Also:
    • IO_ERROR

      static final int IO_ERROR
      Something went wrong reading or writing to a socket, for example.
      See Also:
    • BAD_ADDRESS

      static final int BAD_ADDRESS
      A D-Bus bus address was malformed.
      See Also:
    • NOT_SUPPORTED

      static final int NOT_SUPPORTED
      Requested operation isn't supported (like ENOSYS on UNIX).
      See Also:
    • LIMITS_EXCEEDED

      static final int LIMITS_EXCEEDED
      Some limited resource is exhausted.
      See Also:
    • ACCESS_DENIED

      static final int ACCESS_DENIED
      Security restrictions don't allow doing what you're trying to do.
      See Also:
    • AUTH_FAILED

      static final int AUTH_FAILED
      Authentication didn't work.
      See Also:
    • NO_SERVER

      static final int NO_SERVER
      Unable to connect to server (probably caused by ECONNREFUSED on a
      socket).
      See Also:
    • TIMEOUT

      static final int TIMEOUT
      Certain timeout errors, possibly ETIMEDOUT on a socket. Note that
      %G_DBUS_ERROR_NO_REPLY is used for message reply timeouts. Warning:
      this is confusingly-named given that %G_DBUS_ERROR_TIMED_OUT also
      exists. We can't fix it for compatibility reasons so just be
      careful.
      See Also:
    • NO_NETWORK

      static final int NO_NETWORK
      No network access (probably ENETUNREACH on a socket).
      See Also:
    • ADDRESS_IN_USE

      static final int ADDRESS_IN_USE
      Can't bind a socket since its address is in use (i.e. EADDRINUSE).
      See Also:
    • DISCONNECTED

      static final int DISCONNECTED
      The connection is disconnected and you're trying to use it.
      See Also:
    • INVALID_ARGS

      static final int INVALID_ARGS
      Invalid arguments passed to a method call.
      See Also:
    • FILE_NOT_FOUND

      static final int FILE_NOT_FOUND
      Missing file.
      See Also:
    • FILE_EXISTS

      static final int FILE_EXISTS
      Existing file and the operation you're using does not silently overwrite.
      See Also:
    • UNKNOWN_METHOD

      static final int UNKNOWN_METHOD
      Method name you invoked isn't known by the object you invoked it on.
      See Also:
    • TIMED_OUT

      static final int TIMED_OUT
      Certain timeout errors, e.g. while starting a service. Warning: this is
      confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We
      can't fix it for compatibility reasons so just be careful.
      See Also:
    • MATCH_RULE_NOT_FOUND

      static final int MATCH_RULE_NOT_FOUND
      Tried to remove or modify a match rule that didn't exist.
      See Also:
    • MATCH_RULE_INVALID

      static final int MATCH_RULE_INVALID
      The match rule isn't syntactically valid.
      See Also:
    • SPAWN_EXEC_FAILED

      static final int SPAWN_EXEC_FAILED
      While starting a new process, the exec() call failed.
      See Also:
    • SPAWN_FORK_FAILED

      static final int SPAWN_FORK_FAILED
      While starting a new process, the fork() call failed.
      See Also:
    • SPAWN_CHILD_EXITED

      static final int SPAWN_CHILD_EXITED
      While starting a new process, the child exited with a status code.
      See Also:
    • SPAWN_CHILD_SIGNALED

      static final int SPAWN_CHILD_SIGNALED
      While starting a new process, the child exited on a signal.
      See Also:
    • SPAWN_FAILED

      static final int SPAWN_FAILED
      While starting a new process, something went wrong.
      See Also:
    • SPAWN_SETUP_FAILED

      static final int SPAWN_SETUP_FAILED
      We failed to setup the environment correctly.
      See Also:
    • SPAWN_CONFIG_INVALID

      static final int SPAWN_CONFIG_INVALID
      We failed to setup the config parser correctly.
      See Also:
    • SPAWN_SERVICE_INVALID

      static final int SPAWN_SERVICE_INVALID
      Bus name was not valid.
      See Also:
    • SPAWN_SERVICE_NOT_FOUND

      static final int SPAWN_SERVICE_NOT_FOUND
      Service file not found in system-services directory.
      See Also:
    • SPAWN_PERMISSIONS_INVALID

      static final int SPAWN_PERMISSIONS_INVALID
      Permissions are incorrect on the setuid helper.
      See Also:
    • SPAWN_FILE_INVALID

      static final int SPAWN_FILE_INVALID
      Service file invalid (Name, User or Exec missing).
      See Also:
    • SPAWN_NO_MEMORY

      static final int SPAWN_NO_MEMORY
      Tried to get a UNIX process ID and it wasn't available.
      See Also:
    • UNIX_PROCESS_ID_UNKNOWN

      static final int UNIX_PROCESS_ID_UNKNOWN
      Tried to get a UNIX process ID and it wasn't available.
      See Also:
    • INVALID_SIGNATURE

      static final int INVALID_SIGNATURE
      A type signature is not valid.
      See Also:
    • INVALID_FILE_CONTENT

      static final int INVALID_FILE_CONTENT
      A file contains invalid syntax or is otherwise broken.
      See Also:
    • SELINUX_SECURITY_CONTEXT_UNKNOWN

      static final int SELINUX_SECURITY_CONTEXT_UNKNOWN
      Asked for SELinux security context and it wasn't available.
      See Also:
    • ADT_AUDIT_DATA_UNKNOWN

      static final int ADT_AUDIT_DATA_UNKNOWN
      Asked for ADT audit data and it wasn't available.
      See Also:
    • OBJECT_PATH_IN_USE

      static final int OBJECT_PATH_IN_USE
      There's already an object with the requested object path.
      See Also:
    • UNKNOWN_OBJECT

      static final int UNKNOWN_OBJECT
      Object you invoked a method on isn't known. Since 2.42
      See Also:
    • UNKNOWN_INTERFACE

      static final int UNKNOWN_INTERFACE
      Interface you invoked a method on isn't known by the object. Since 2.42
      See Also:
    • UNKNOWN_PROPERTY

      static final int UNKNOWN_PROPERTY
      Property you tried to access isn't known by the object. Since 2.42
      See Also:
    • PROPERTY_READ_ONLY

      static final int PROPERTY_READ_ONLY
      Property you tried to set is read-only. Since 2.42
      See Also: