diff options
author | Mika Tikkakoski <mika.tikkakoski@nokia.com> | 2012-05-17 14:42:38 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-05 08:41:13 +0200 |
commit | c03c7331684c0352fc2e7f6646a067c0842161cc (patch) | |
tree | abf065d47a6a86f2632e7430be19d76f2c600cc6 /src/contacts/qcontactmanager.h | |
parent | 01d73409e26a98a97628bfcc257b4f8861adfa8f (diff) |
Improved detecting and reporting errors on storage locations.
- Introduced InvalidStorageLocationError for reporting unavailable
or invalid storage locations.
- Introduced MissingPlatformRequirementsError for reporting cases
where all valid storage locations are found unavailable.
- Added test modules for unavailable and invalid storage locations.
- Added error precedence mapping for improving error reporting.
- Patch operations in jsondb backend now return the error with the
highest precedence in case of multiple errors are detected.
- Tuned existing test case for error code precedence mapping.
- Enabled fetching from multiple storage locations in one request.
Change-Id: I858f6c50a5c67f53b78de09471f152b49ed4b1bf
Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
Diffstat (limited to 'src/contacts/qcontactmanager.h')
-rw-r--r-- | src/contacts/qcontactmanager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/contacts/qcontactmanager.h b/src/contacts/qcontactmanager.h index facae0b71..359a6b7db 100644 --- a/src/contacts/qcontactmanager.h +++ b/src/contacts/qcontactmanager.h @@ -110,7 +110,9 @@ public: VersionMismatchError, LimitReachedError, InvalidContactTypeError, - TimeoutError + TimeoutError, + InvalidStorageLocationError, + MissingPlatformRequirementsError }; /* Error reporting */ |