public class CurRateError
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
JSON_ERROR_CODE
JSON error_code property
|
protected static java.lang.String |
JSON_MESSAGE
JSON message property
|
protected static java.lang.String |
JSON_METRICS
JSON metrics property
|
Constructor and Description |
---|
CurRateError()
Standardkonstruktor
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code
|
java.lang.String |
getMessage()
Returns the readable error message
|
Metrics |
getMetrics()
Returns the server metrics
|
void |
setErrorCode(int errorCode)
Sets the error code
|
void |
setMessage(java.lang.String message)
Sets the readable error message
|
void |
setMetrics(Metrics metrics)
Sets the server metrics
|
protected static final java.lang.String JSON_METRICS
protected static final java.lang.String JSON_MESSAGE
protected static final java.lang.String JSON_ERROR_CODE
public int getErrorCode()
public java.lang.String getMessage()
public Metrics getMetrics()
public void setErrorCode(int errorCode)
errorCode
- public void setMessage(java.lang.String message)
message
- public void setMetrics(Metrics metrics)
metrics
-