org.freedesktop.dbus
Class Error
java.lang.Object
org.freedesktop.dbus.Message
org.freedesktop.dbus.Error
public class Error
- extends Message
Error messages which can be sent over the bus.
Constructor Summary |
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)
|
Methods 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 |
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
public Error(String source,
Message m,
Throwable e)
throws DBusException
- Throws:
DBusException
Error
public Error(Message m,
Throwable e)
throws DBusException
- Throws:
DBusException
getException
public DBusExecutionException getException()
- Turns this into an exception of the correct type
throwException
public void throwException()
throws DBusExecutionException
- Throw this as an exception of the correct type
- Throws:
DBusExecutionException