Package org.freedesktop.dbus
Class Error
java.lang.Object
org.freedesktop.dbus.Message
org.freedesktop.dbus.Error
Error messages which can be sent over the bus.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.freedesktop.dbus.Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType
-
Field Summary
Fields inherited from class org.freedesktop.dbus.Message
bytecounter, flags, globalserial, headers, PROTOCOL, protover, serial, type, wiredata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTurns this into an exception of the correct typevoid
Throw this as an exception of the correct typeMethods inherited from class org.freedesktop.dbus.Message
align, append, appendByte, appendBytes, appendint, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getDestination, getFlags, getHeader, getHeaderFieldName, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getWireData, marshallint, marshallintBig, marshallintLittle, pad, setArgs, setSource, toString
-
Constructor Details
-
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 -
throwException
Throw this as an exception of the correct type- Throws:
DBusExecutionException
-