java.lang.Object
org.freedesktop.dbus.messages.Message
org.freedesktop.dbus.errors.Error
Error messages which can be sent over the bus.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.freedesktop.dbus.messages.Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType -
Field Summary
Fields inherited from class org.freedesktop.dbus.messages.Message
logger, MAXIMUM_ARRAY_LENGTH, MAXIMUM_MESSAGE_LENGTH, MAXIMUM_NUM_UNIX_FDS, PROTOCOL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTurns this into an exception of the correct typevoidThrow this as an exception of the correct typeMethods inherited from class org.freedesktop.dbus.messages.Message
align, append, appendByte, appendBytes, appendint, createHeaderArgs, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getByteCounter, getDestination, getEndianess, getFiledescriptors, getFlags, getHeader, getHeader, getHeaderFieldName, getHeaders, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getType, getWiredata, getWireData, marshallint, marshallintBig, marshallintLittle, pad, padAndMarshall, setArgs, setByteCounter, setHeader, setSerial, setSource, setWiredata, toString
-
Constructor Details
-
Error
public Error() -
Error
public Error(String _dest, String _errorName, long _replyserial, String _sig, Object... _args) throws DBusException - Throws:
DBusException
-
Error
public Error(String _source, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) throws DBusException - Throws:
DBusException
-
Error
- Throws:
DBusException
-
Error
- Throws:
DBusException
-
-
Method Details
-
getException
Turns this into an exception of the correct type- Returns:
- exception
-
throwException
Throw this as an exception of the correct type- Throws:
DBusExecutionException
-