public class AlfrescoServiceException extends AlfrescoException
ACTIVITISTREAM_GENERIC, ACTIVITISTREAM_NOT_FOUND, COMMENT_GENERIC, COMMENT_NO_COMMENT, DOCFOLDER_GENERIC, DOCFOLDER_NO_THUMBNAIL, DOCFOLDER_NODE_ALREADY_EXIST, DOCFOLDER_PARENT_NOT_FOUND, DOCFOLDER_PERMISSIONS, DOCFOLDER_WRONG_CONVERT, DOCFOLDER_WRONG_NODE_TYPE, GENERAL_ACCESS_DENIED, GENERAL_GENERIC, GENERAL_HTTP_RESP, GENERAL_IO, GENERAL_NODE_NOT_FOUND, PARSING_ENTRIES_TAG_MISSED, PARSING_ENTRY_TAG_MISSED, PARSING_GENERIC, PARSING_JSONDATA_EMPTY, PERSON_AVATAR_NOT_FOUND, PERSON_GENERIC, PERSON_NOT_FOUND, RATING_GENERIC, RATING_NOT_FOUND, SEARCH_GENERIC, SESSION_ACCESS_TOKEN_EXPIRED, SESSION_API_KEYS_INVALID, SESSION_AUTH_CODE_INVALID, SESSION_AUTHENTICATOR, SESSION_GENERIC, SESSION_INVALID_REFRESH_TOKEN, SESSION_NO_NETWORK_FOUND, SESSION_NO_REPOSITORY, SESSION_REFRESH_TOKEN_EXPIRED, SESSION_SERVICEREGISTRY, SESSION_UNAUTHORIZED, SITE_ALREADY_MEMBER, SITE_DOCLIB_NOTFOUND, SITE_GENERIC, SITE_LAST_MANAGER, SITE_NOTFOUND, TAGGING_GENERIC, TAGGING_TAG_NOT_FOUND, WORKFLOW_GENERIC
Constructor and Description |
---|
AlfrescoServiceException(int errorCode,
AlfrescoErrorContent content)
Instantiates a new alfresco service exception.
|
AlfrescoServiceException(int errorCode,
String message)
Instantiates a new alfresco service exception.
|
AlfrescoServiceException(int errorCode,
Throwable e)
Instantiates a new alfresco service exception.
|
AlfrescoServiceException(String detailsMessage)
Default constructor.
|
AlfrescoServiceException(String message,
String errorContent)
Instantiates a new alfresco service exception.
|
getAlfrescoErrorContent, getErrorCode, getErrorContent
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AlfrescoServiceException(String detailsMessage)
detailsMessage
- the details message of the exceptionpublic AlfrescoServiceException(String message, String errorContent)
message
- Exception messageerrorContent
- the error content (raw value from the server)public AlfrescoServiceException(int errorCode, Throwable e)
errorCode
- the error codee
- Exception encapsulate by this new exceptionpublic AlfrescoServiceException(int errorCode, String message)
errorCode
- Mobile SDK error codemessage
- message associated to this exceptionpublic AlfrescoServiceException(int errorCode, AlfrescoErrorContent content)
errorCode
- Mobile SDK error codecontent
- AlfrescoErrorContent object associated to this exception.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.