271 TQT_DBusError(
const TQString& error,
const TQString& message);
282 inline TQString
name()
const {
return nm; }
295 inline TQString
message()
const {
return msg; }
331 bool isValid()
const;
376 static TQT_DBusError stdNotSupported(
const TQString& message);
385 static TQT_DBusError stdLimitsExceeded(
const TQString& message);
394 static TQT_DBusError stdAccessDenied(
const TQString& message);
421 static TQT_DBusError stdInvalidArgs(
const TQString& message);
430 static TQT_DBusError stdFileNotFound(
const TQString& message);
448 static TQT_DBusError stdUnknownMethod(
const TQString& message);
457 static TQT_DBusError stdInvalidSignature(
const TQString& message);
Class for transporting D-Bus errors.
TQString name() const
Returns the D-Bus error name.
bool dbusErrorSet() const
Returns whether the error was caused by DBUS itself.
void setDBUSError(bool err) const
ErrorType type() const
Returns a type for checking of standard errors.
TQString message() const
Returns a string describing the error.
ErrorType
Enum of standard D-Bus error types.
@ TimedOut
An operation timed out.
@ NotSupported
An otherwise valid operation request could not be handled.
@ ServiceUnknown
An addressed service is neither connected nor can it be activated.
@ Failed
Generic failure cause.
@ AccessDenied
Caused by security restrictions denying an operation.
@ UnknownMethod
A method call addresses and unknown method.
@ LimitsExceeded
Use of a limited resource reached its limit.
@ FileNotFound
A file necessary for an operation is not avaiable.
@ NoNetwork
The network intended as a transport channel is not available.
@ NoMemory
An operation could not allocate enough memory.
@ AuthFailed
An authentification mechanism failed.
@ InvalidError
TQT_DBusError specific value, to represent invalid error objects.
@ BadAddress
Caused by trying to connect to a malformed address.
@ NameHasNoOwner
A non-unique name used in a message is not known.
@ InvalidArgs
Caused by invalid arguments passed to a method call.
@ FileExists
Target file exists but operation does not allow overwriting.
@ NoReply
An call failed to send a reply but one was expected.
@ NoServer
Connection to a D-Bus server failed.
@ Disconnected
Caused by trying to use an unconnected D-Bus connection.
@ IOError
An IO error occured during an operation.
@ InvalidSignature
An type signature is not valid.
@ Timeout
An timeout occured during an operation.