org.alfresco.mobile.android.api.exceptions
Interface ErrorCodeRegistry

All Known Implementing Classes:
AlfrescoException, AlfrescoServiceException, AlfrescoSessionException

public interface ErrorCodeRegistry

Provides all error code associated to the public API.

Author:
Jean Marie Pascal

Field Summary
static int ACTIVITISTREAM_GENERIC
          Generic error code for all ActivitstreamService.
static int ACTIVITISTREAM_NOT_FOUND
          The activitistream not found.
static int COMMENT_GENERIC
          Generic error code for all commentService.
static int COMMENT_NO_COMMENT
          Failed to retrieve comment.
static int DOCFOLDER_GENERIC
          Generic error code for all Document Folder Service.
static int DOCFOLDER_NO_THUMBNAIL
          Thumbnail not found / Not authorized.
static int DOCFOLDER_NODE_ALREADY_EXIST
          Node Already Exist.
static int DOCFOLDER_PARENT_NOT_FOUND
          No parent node found.
static int DOCFOLDER_PERMISSIONS
          Failed to retrieve permissions for node.
static int DOCFOLDER_WRONG_CONVERT
          Failed to convert node.
static int DOCFOLDER_WRONG_NODE_TYPE
          Wrong node type.
static int GENERAL_ACCESS_DENIED
          Access Denied.
static int GENERAL_GENERIC
          Default Generic Error for all API.
static int GENERAL_HTTP_RESP
          Invalid HTTP Response code from the server i.e.
static int GENERAL_IO
          An I/O error occurred.
static int GENERAL_NODE_NOT_FOUND
          The requested node could not be found.
static int PARSING_ENTRIES_TAG_MISSED
          The “entries” object is missing from the JSON response.
static int PARSING_ENTRY_TAG_MISSED
          The “entry” object is missing from the JSON response.
static int PARSING_GENERIC
          Generic Parsing Error.
static int PARSING_JSONDATA_EMPTY
          The response does not contain JSON data.
static int PERSON_AVATAR_NOT_FOUND
          Person not found.
static int PERSON_GENERIC
          Generic error code for all PersonService.
static int PERSON_NOT_FOUND
          Person not found.
static int RATING_GENERIC
          Generic error code for all RatingService.
static int RATING_NOT_FOUND
          Failed to retrieve tags.
static int SEARCH_GENERIC
          Generic error code for SearchService.
static int SESSION_ACCESS_TOKEN_EXPIRED
          Access token has expired.
static int SESSION_API_KEYS_INVALID
          API key or secret were not recognised.
static int SESSION_AUTH_CODE_INVALID
          Authorization code is invalid or expired.
static int SESSION_AUTHENTICATOR
          An error happens during the creation of authenticator.
static int SESSION_GENERIC
          Generic error for all session error.
static int SESSION_NO_NETWORK_FOUND
          No network found for the specific user.
static int SESSION_NO_REPOSITORY
          The server connected to does not contain any repositories.
static int SESSION_REFRESH_TOKEN_EXPIRED
          The Refresh token has expired.
static int SESSION_SERVICEREGISTRY
          An error happens during the creation of service registry.
static int SESSION_UNAUTHORIZED
          The user credentials provided are not authorized to access the server.
static int SITE_DOCLIB_NOTFOUND
          The document library for the site could not be found.
static int SITE_GENERIC
          Generic error code for all siteService.
static int SITE_NOTFOUND
          The site could not be found.
static int TAGGING_GENERIC
          Generic error code for all TaggingService.
static int TAGGING_TAG_NOT_FOUND
          Failed to retrieve tags.
 

Field Detail

GENERAL_GENERIC

static final int GENERAL_GENERIC
Default Generic Error for all API.

See Also:
Constant Field Values

GENERAL_HTTP_RESP

static final int GENERAL_HTTP_RESP
Invalid HTTP Response code from the server i.e. outside the 200 - 299 range.

See Also:
Constant Field Values

GENERAL_NODE_NOT_FOUND

static final int GENERAL_NODE_NOT_FOUND
The requested node could not be found.

See Also:
Constant Field Values

GENERAL_ACCESS_DENIED

static final int GENERAL_ACCESS_DENIED
Access Denied. The current user is not allowed to perform the current operation.

See Also:
Constant Field Values

GENERAL_IO

static final int GENERAL_IO
An I/O error occurred.

See Also:
Constant Field Values

SESSION_GENERIC

static final int SESSION_GENERIC
Generic error for all session error.

See Also:
Constant Field Values

SESSION_UNAUTHORIZED

static final int SESSION_UNAUTHORIZED
The user credentials provided are not authorized to access the server.

See Also:
Constant Field Values

SESSION_API_KEYS_INVALID

static final int SESSION_API_KEYS_INVALID
API key or secret were not recognised.

See Also:
Constant Field Values

SESSION_AUTH_CODE_INVALID

static final int SESSION_AUTH_CODE_INVALID
Authorization code is invalid or expired.

See Also:
Constant Field Values

SESSION_ACCESS_TOKEN_EXPIRED

static final int SESSION_ACCESS_TOKEN_EXPIRED
Access token has expired.

See Also:
Constant Field Values

SESSION_REFRESH_TOKEN_EXPIRED

static final int SESSION_REFRESH_TOKEN_EXPIRED
The Refresh token has expired.

See Also:
Constant Field Values

SESSION_NO_REPOSITORY

static final int SESSION_NO_REPOSITORY
The server connected to does not contain any repositories.

See Also:
Constant Field Values

SESSION_NO_NETWORK_FOUND

static final int SESSION_NO_NETWORK_FOUND
No network found for the specific user.

See Also:
Constant Field Values

SESSION_AUTHENTICATOR

static final int SESSION_AUTHENTICATOR
An error happens during the creation of authenticator.

See Also:
Constant Field Values

SESSION_SERVICEREGISTRY

static final int SESSION_SERVICEREGISTRY
An error happens during the creation of service registry.

See Also:
Constant Field Values

PARSING_GENERIC

static final int PARSING_GENERIC
Generic Parsing Error.

See Also:
Constant Field Values

PARSING_JSONDATA_EMPTY

static final int PARSING_JSONDATA_EMPTY
The response does not contain JSON data.

See Also:
Constant Field Values

PARSING_ENTRY_TAG_MISSED

static final int PARSING_ENTRY_TAG_MISSED
The “entry” object is missing from the JSON response.

See Also:
Constant Field Values

PARSING_ENTRIES_TAG_MISSED

static final int PARSING_ENTRIES_TAG_MISSED
The “entries” object is missing from the JSON response.

See Also:
Constant Field Values

COMMENT_GENERIC

static final int COMMENT_GENERIC
Generic error code for all commentService.

See Also:
Constant Field Values

COMMENT_NO_COMMENT

static final int COMMENT_NO_COMMENT
Failed to retrieve comment.

See Also:
Constant Field Values

SITE_GENERIC

static final int SITE_GENERIC
Generic error code for all siteService.

See Also:
Constant Field Values

SITE_DOCLIB_NOTFOUND

static final int SITE_DOCLIB_NOTFOUND
The document library for the site could not be found.

See Also:
Constant Field Values

SITE_NOTFOUND

static final int SITE_NOTFOUND
The site could not be found.

See Also:
Constant Field Values

ACTIVITISTREAM_GENERIC

static final int ACTIVITISTREAM_GENERIC
Generic error code for all ActivitstreamService.

See Also:
Constant Field Values

ACTIVITISTREAM_NOT_FOUND

static final int ACTIVITISTREAM_NOT_FOUND
The activitistream not found.

See Also:
Constant Field Values

DOCFOLDER_GENERIC

static final int DOCFOLDER_GENERIC
Generic error code for all Document Folder Service.

See Also:
Constant Field Values

DOCFOLDER_NODE_ALREADY_EXIST

static final int DOCFOLDER_NODE_ALREADY_EXIST
Node Already Exist.

See Also:
Constant Field Values

DOCFOLDER_WRONG_NODE_TYPE

static final int DOCFOLDER_WRONG_NODE_TYPE
Wrong node type. A folder/Document has been returned instead of document/folder.

See Also:
Constant Field Values

DOCFOLDER_PERMISSIONS

static final int DOCFOLDER_PERMISSIONS
Failed to retrieve permissions for node.

See Also:
Constant Field Values

DOCFOLDER_WRONG_CONVERT

static final int DOCFOLDER_WRONG_CONVERT
Failed to convert node.

See Also:
Constant Field Values

DOCFOLDER_PARENT_NOT_FOUND

static final int DOCFOLDER_PARENT_NOT_FOUND
No parent node found.

See Also:
Constant Field Values

DOCFOLDER_NO_THUMBNAIL

static final int DOCFOLDER_NO_THUMBNAIL
Thumbnail not found / Not authorized.

See Also:
Constant Field Values

TAGGING_GENERIC

static final int TAGGING_GENERIC
Generic error code for all TaggingService.

See Also:
Constant Field Values

TAGGING_TAG_NOT_FOUND

static final int TAGGING_TAG_NOT_FOUND
Failed to retrieve tags.

See Also:
Constant Field Values

PERSON_GENERIC

static final int PERSON_GENERIC
Generic error code for all PersonService.

See Also:
Constant Field Values

PERSON_NOT_FOUND

static final int PERSON_NOT_FOUND
Person not found.

See Also:
Constant Field Values

PERSON_AVATAR_NOT_FOUND

static final int PERSON_AVATAR_NOT_FOUND
Person not found.

See Also:
Constant Field Values

SEARCH_GENERIC

static final int SEARCH_GENERIC
Generic error code for SearchService.

See Also:
Constant Field Values

RATING_GENERIC

static final int RATING_GENERIC
Generic error code for all RatingService.

See Also:
Constant Field Values

RATING_NOT_FOUND

static final int RATING_NOT_FOUND
Failed to retrieve tags.

See Also:
Constant Field Values


Copyright © 2012 Alfresco Software. All Rights Reserved.