public class CloudErrorContent extends Object implements AlfrescoErrorContent
AlfrescoErrorContent
.Constructor and Description |
---|
CloudErrorContent() |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Gets the HTTP Error code.
|
String |
getDescriptionURL()
Gets the description url associated to this error message.
|
String |
getMessage()
Gets the main message from the error.
|
String |
getStackTrace()
Gets the stack trace associated to the exception.
|
static CloudErrorContent |
parseJson(String errorContentValue)
Parses json exception response and try to retrieve essential values.
|
public static CloudErrorContent parseJson(String errorContentValue)
errorContentValue
- the raw data from the HTTP request.public int getCode()
getCode
in interface AlfrescoErrorContent
public String getMessage()
getMessage
in interface AlfrescoErrorContent
public String getStackTrace()
getStackTrace
in interface AlfrescoErrorContent
public String getDescriptionURL()
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.