QDBusError Class Reference |
Constant | Value | Description |
---|---|---|
QDBusError::NoError | 0 | QDBusError is invalid (i.e., the call succeeded) |
QDBusError::Other | 1 | QDBusError contains an error that is one of the well-known ones |
QDBusError::Failed | 2 | The call failed (org.freedesktop.DBus.Error.Failed) |
QDBusError::NoMemory | 3 | Out of memory (org.freedesktop.DBus.Error.NoMemory) |
QDBusError::ServiceUnknown | 4 | The called service is not known (org.freedesktop.DBus.Error.ServiceUnknown) |
QDBusError::NoReply | 5 | The called method did not reply within the specified timeout (org.freedesktop.DBus.Error.NoReply) |
QDBusError::BadAddress | 6 | The address given is not valid (org.freedesktop.DBus.Error.BadAddress) |
QDBusError::NotSupported | 7 | The call/operation is not supported (org.freedesktop.DBus.Error.NotSupported) |
QDBusError::LimitsExceeded | 8 | The limits allocated to this process/call/connection exceeded the pre-defined values (org.freedesktop.DBus.Error.LimitsExceeded) |
QDBusError::AccessDenied | 9 | The call/operation tried to access a resource it isn't allowed to (org.freedesktop.DBus.Error.AccessDenied) |
QDBusError::NoServer | 10 | Documentation doesn't say what this is for (org.freedesktop.DBus.Error.NoServer) |
QDBusError::Timeout | 11 | Documentation doesn't say what this is for or how it's used (org.freedesktop.DBus.Error.Timeout) |
QDBusError::NoNetwork | 12 | Documentation doesn't say what this is for (org.freedesktop.DBus.Error.NoNetwork) |
QDBusError::AddressInUse | 13 | QDBusServer tried to bind to an address that is already in use (org.freedesktop.DBus.Error.AddressInUse) |
QDBusError::Disconnected | 14 | The call/process/message was sent after QDBusConnection disconnected (org.freedesktop.DBus.Error.Disconnected) |
QDBusError::InvalidArgs | 15 | The arguments passed to this call/operation are not valid (org.freedesktop.DBus.Error.InvalidArgs) |
QDBusError::UnknownMethod | 16 | The method called was not found in this object/interface with the given parameters (org.freedesktop.DBus.Error.UnknownMethod) |
QDBusError::TimedOut | 17 | Documentation doesn't say... (org.freedesktop.DBus.Error.TimedOut) |
QDBusError::InvalidSignature | 18 | The type signature is not valid or compatible (org.freedesktop.DBus.Error.InvalidSignature) |
QDBusError::UnknownInterface | 19 | The interface is not known |
QDBusError::InternalError | 20 | An internal error occurred (com.trolltech.QtDBus.Error.InternalError) |
QDBusError::UnknownObject | 21 | The remote object could not be found. |
Returns the error name associated with error condition error.
This function was introduced in Qt 4.3.
Returns true if this is a valid error condition (i.e., if there was an error), otherwise false.
Returns the message that the callee associated with this error. Error messages are implementation defined and usually contain a human-readable error code, though this does not mean it is suitable for your end-users.
Returns this error's name. Error names are similar to D-Bus Interface names, like org.freedesktop.DBus.InvalidArgs.
See also type().
Returns this error's ErrorType.
See also ErrorType.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt 4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com