Class Error
java.lang.Object
org.freedesktop.dbus.messages.Message
org.freedesktop.dbus.messages.Error
Error messages which can be sent over the bus.
-
Field Summary
Fields inherited from class Message
logger, MAXIMUM_ARRAY_LENGTH, MAXIMUM_MESSAGE_LENGTH, MAXIMUM_NUM_UNIX_FDS, PROTOCOL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedError()protectedError(byte _endianess, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) protectedError(byte _endianess, String _source, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) protectedprotected -
Method Summary
Modifier and TypeMethodDescriptionTurns this into an exception of the correct typevoidThrow this as an exception of the correct typeMethods inherited from class Message
align, append, appendByte, appendBytes, appendint, createHeaderArgs, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getByteCounter, getDestination, getEndianess, getFiledescriptors, getFlags, getHeader, getHeader, getHeaderFieldName, getInterface, getName, getParameters, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getType, getWireData, marshallint, marshallintBig, marshallintLittle, pad, padAndMarshall, setArgs, setByteCounter, setHeader, setSerial, setSource, setWireData, toString, updateEndianess
-
Constructor Details
-
Error
protected Error() -
Error
protected Error(byte _endianess, String _dest, String _errorName, long _replyserial, String _sig, Object... _args) throws DBusException - Throws:
DBusException
-
Error
protected Error(byte _endianess, 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
-