public class ApiError extends Object implements Serializable
Constructor and Description |
---|
ApiError()
Constructor
|
ApiError(String type,
int data,
String message) |
ApiError(String type,
String data,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorData() |
String |
getErrorMessage() |
String |
getErrorType() |
void |
setErrorData(String errorData) |
void |
setErrorMessage(String errorMessage) |
void |
setErrorType(String errorType) |
String |
toString() |
public String getErrorType()
public void setErrorType(String errorType)
errorType
- the errorType to setpublic String getErrorData()
public void setErrorData(String errorData)
errorData
- the errorData to setpublic String getErrorMessage()
public void setErrorMessage(String errorMessage)
errorMessage
- the errorMessage to setCopyright © 2018. All rights reserved.