Package com.lucimber.dbus.exception
package com.lucimber.dbus.exception
Standard D-Bus error types and exception mappings.
This package contains Java exception classes that correspond to standard D-Bus error names as defined in the D-Bus specification. Each exception represents a specific error condition that can occur during D-Bus communication.
Getting Started
For first-time users: You'll encounter these exceptions when handling InboundError
messages. Check for specific exception types to handle
different error conditions appropriately in your application.
The exceptions follow the D-Bus error naming convention and are automatically mapped to/from D-Bus error messages. Common exceptions include:
UnknownMethodException
- Method does not existInvalidArgsException
- Invalid method argumentsAccessDeniedException
- Access denied by policyTimeoutException
- Operation timed outNoReplyException
- No reply to method call
All exceptions extend AbstractException
which provides the
D-Bus error name mapping.
- See Also:
-
ExceptionsClassDescriptionBase class for exceptions related to this framework.Access to a resource has been denied due to security restrictions.The specified network address is already being listened on.Authentication did not complete successfully.The specified D-Bus bus address string is malformed.The connection has been terminated.A generic error indication.The requested file already exists.The requested file could not be found.The passed message does not validate correctly.Access to the requested operation is not permitted.One or more invalid arguments have been passed.The specified message signature is not valid.Generic input/output error, for example when accessing a socket or other I/O context.Some limited resource has been exhausted.The specified match rule is invalid.The specified match rule does not exist.The specified bus service name currently has no owner.A memory allocation failed, and the requested operation could not be completed.No network available to execute requested network operation on.A message did not receive a reply.Unable to connect to the specified server.The requested operation is not supported on the local system.A write operation was requested on a read-only property.The contacted bus service is unknown and cannot be activated.An operation timed out.The requested PID is not known.The requested interface does not exist on the selected object.The requested method does not exist in the selected interface.The requested object does not exist in the selected service.The requested property does not exist in the selected interface.