definition for Signon error handling. More...
definition for Signon error handling.
Extend this class' error range in order to provide custom error handling.
Error codes for all the Signon by default supported errors.
Plugin developers should use the predefined error types in the AuthSessionErr and UserErr interval, and in the case of extended error handling values greater than UserErr.
Unknown |
Catch-all for errors not distinguished by another code. |
InternalServer |
Signon Daemon internal error. |
InternalCommunication |
Communication with Signon Daemon error. |
PermissionDenied |
The operation cannot be performed due to insufficient client permissions. |
EncryptionFailure |
Failure during data encryption/decryption. |
MethodNotKnown |
The method with this name is not found. |
ServiceNotAvailable |
The service is temporarily unavailable. |
InvalidQuery |
Parameters for the query are invalid. |
MethodNotAvailable |
The requested method is not available. |
IdentityNotFound |
The identity matching this Identity object was not found on the service. |
StoreFailed |
Storing credentials failed. |
RemoveFailed |
Removing credentials failed. |
SignOutFailed |
SignOut failed. |
IdentityOperationCanceled |
Identity operation was canceled by user. |
CredentialsNotAvailable |
Query failed. |
ReferenceNotFound |
Trying to remove nonexistent reference. |
MechanismNotAvailable |
The requested mechanism is not available. |
MissingData |
The SessionData object does not contain necessary information. |
InvalidCredentials |
The supplied credentials are invalid for the mechanism implementation. |
NotAuthorized |
Authorization failed. |
WrongState |
An operation method has been called in a wrong state. |
OperationNotSupported |
The operation is not supported by the mechanism implementation. |
NoConnection |
No Network connetion. |
Network |
Network connetion failed. |
Ssl |
Ssl connection failed. |
Runtime |
Casting SessionData into subclass failed |
SessionCanceled |
Challenge was cancelled. |
TimedOut |
Challenge was timed out. |
UserInteraction |
User interaction dialog failed |
OperationFailed |
Temporary failure in authentication. |
EncryptionFailed |
|
TOSNotAccepted |
User declined Terms of Service. |
ForgotPassword |
User requested reset password sequence. |
MethodOrMechanismNotAllowed |
Method or mechanism not allowed for this identity. |
IncorrectDate |
Date time incorrect on device. |
SessionClosed |
User closed the session before completing session related operations - e.g. browser authentication. |
SignOn::Error::Error | ( | const Error & | src | ) | [inline] |
Copy constructor.
src | Error object to be copied |
For convenience constructor.
type | Type of the error | |
message | Error message |
Assignment operator.
src | Error object to be assigned to this instance |
void SignOn::Error::setMessage | ( | const QString & | message | ) | [inline] |
Sets the error message.
message | The message to be set |
void SignOn::Error::setType | ( | int | type | ) | [inline] |
Sets the type of the error.
The 'type' parameter is an integer and values beyond Error::ErrorType can be used for customized error reporting.
type | The type to be set |
int SignOn::Error::type | ( | ) | const [inline] |
Copyright (C) 2009-2011 Nokia Corporation. LGPL |
MeeGo 1.2 Harmattan API
|