public class ErrorMessageJson extends Object
ErrorMessageJson class represents the JSON that will be returned in the event of an error message in the
Insight Provider backend.| Constructor and Description |
|---|
ErrorMessageJson()
Creates a new instance of
ErrorMessageJson. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the error message.
|
int |
getStatus()
Returns the HTTP status code associated with this error message.
|
void |
setMessage(String message)
Sets the error message.
|
void |
setStatus(int status)
Set the HTTP status code associated with this error message.
|
public ErrorMessageJson()
ErrorMessageJson.public int getStatus()
public void setStatus(int status)
status - the HTTP status code to be associated with this errorpublic String getMessage()
public void setMessage(String message)
message - the error messageCopyright © 2016 SAP. All Rights Reserved.