org.freedesktop.dbus
public class Error extends Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType
bytecounter, flags, globalserial, headers, PROTOCOL, protover, serial, type, wiredata
Constructor and Description |
---|
Error(Message m,
Throwable e) |
Error(String source,
Message m,
Throwable e) |
Error(String dest,
String errorName,
long replyserial,
String sig,
Object... args) |
Error(String source,
String dest,
String errorName,
long replyserial,
String sig,
Object... args) |
Modifier and Type | Method and Description |
---|---|
DBusExecutionException |
getException()
Turns this into an exception of the correct type
|
void |
throwException()
Throw this as an exception of the correct type
|
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
public Error(String dest, String errorName, long replyserial, String sig, Object... args) throws DBusException
DBusException
public Error(String source, String dest, String errorName, long replyserial, String sig, Object... args) throws DBusException
DBusException
public Error(String source, Message m, Throwable e) throws DBusException
DBusException
public Error(Message m, Throwable e) throws DBusException
DBusException
public DBusExecutionException getException()
public void throwException() throws DBusExecutionException
DBusExecutionException