Class Info |
|---|
public class SearchStatus Represents an object indicating the API call result status. |
Constructor Name |
|---|
SearchStatus() Default constructor. |
SearchStatus(String errorCode, String errorMessage) Creates a SearchStatus object using the result code and result information. |
Qualifier and Type |
Method Name and Description |
|---|---|
String |
Obtains a result code. |
String |
Obtains the result description. |
void |
setErrorCode(String errorCode) Sets a result code. |
void |
setErrorMessage(String errorMessage) Sets the result description. |
Constructor |
|---|
SearchStatus(String errorCode, String errorMessage) Creates a SearchStatus object using the result code and result information. |
Parameters
Name |
Description |
|---|---|
errorCode |
Error code. |
errorMessage |
Error information. |
Method |
|---|
public String getErrorCode() Obtains a result code. |
Returns
Type |
Description |
|---|---|
String |
Result code. |
Method |
|---|
public String getErrorMessage() Obtains the result description. |
Returns
Type |
Description |
|---|---|
String |
Result description. |