org.freedesktop.dbus

Class Error

public class Error extends Message

Error messages which can be sent over the bus.
Constructor Summary
Error(String dest, String errorName, long replyserial, String sig, Object... args)
Error(String source, String dest, String errorName, long replyserial, String sig, Object... args)
Error(String source, Message m, Throwable e)
Error(Message m, Throwable e)
Method Summary
DBusExecutionExceptiongetException()
Turns this into an exception of the correct type
voidthrowException()
Throw this as an exception of the correct type

Constructor Detail

Error

public Error(String dest, String errorName, long replyserial, String sig, Object... args)

Error

public Error(String source, String dest, String errorName, long replyserial, String sig, Object... args)

Error

public Error(String source, Message m, Throwable e)

Error

public Error(Message m, Throwable e)

Method Detail

getException

public DBusExecutionException getException()
Turns this into an exception of the correct type

throwException

public void throwException()
Throw this as an exception of the correct type