Base object definition for accounts error handling. More...
Public Types |
|
| enum | ErrorType { NoError = 0, Unknown, Database, Deleted, DatabaseLocked, AccountNotFound } |
|
Error codes for all the accounts errors. More... |
|
Public Member Functions |
|
| Error () | |
| Basic constructor. |
|
| Error (const Error &src) | |
| Copy constructor. |
|
| Error (ErrorType type, const QString &message=QString()) | |
| Constructor. |
|
| Error & | operator= (const Error &src) |
| Assignment operator. |
|
| virtual | ~Error () |
| Destructor. |
|
| ErrorType | type () const |
| QString | message () const |
Base object definition for accounts error handling.
Error codes for all the accounts errors.
| Accounts::Error::Error | ( | ) | [inline] |
Basic constructor.
| Accounts::Error::Error | ( | const Error & | src | ) | [inline] |
Copy constructor.
| src | Error object to be copied. |
Constructor.
| type | The error's type. | |
| message | The error's message. |
| virtual Accounts::Error::~Error | ( | ) | [inline, virtual] |
Destructor.
| QString Accounts::Error::message | ( | ) | const [inline] |
Assignment operator.
| src | The error object to be assigned to this instance. |
| ErrorType Accounts::Error::type | ( | ) | const [inline] |
| Copyright (C) 2009-2011 Nokia Corporation. LGPL |
MeeGo 1.2 Harmattan API
|





