public class HttpError
extends java.lang.Object
implements java.io.Serializable
${services_rest_HttpError_Title}
${services_rest_HttpError_Description}
Constructor and Description |
---|
HttpError()
${services_rest_HttpError_constructor_HttpErrorByDefault_Title}
|
HttpError(int code) |
HttpError(int code, java.lang.String errorMsg)
${services_rest_HttpError_constructor_HttpErrorByCode_Title}
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
${services_rest_HttpError_method_getCode_Title}
|
java.lang.String |
getErrorMsg()
${services_rest_HttpError_method_getErrorMsg_Title}
|
void |
setCode(int code)
Deprecated.
use constructor functions instead
|
void |
setErrorMsg(java.lang.String errorMsg)
Deprecated.
use constructor functions instead
|
public HttpError()
${services_rest_HttpError_constructor_HttpErrorByDefault_Title}
${services_rest_HttpError_constructor_HttpErrorByDefault_Description}
public HttpError(int code)
public HttpError(int code, java.lang.String errorMsg)
${services_rest_HttpError_constructor_HttpErrorByCode_Title}
${services_rest_HttpError_constructor_HttpErrorByCode_Description}
code
- ${services_rest_HttpError_constructor_HttpErrorByCode_param_code}errorMsg
- ${services_rest_HttpError_constructor_HttpErrorByCode_param_errorMsg}public int getCode()
${services_rest_HttpError_method_getCode_Title}
${services_rest_HttpError_method_getCode_Description}
@Deprecated public void setCode(int code)
${services_rest_HttpError_method_setCode_Title}
${services_rest_HttpError_method_setCode_Description}
code
- ${services_rest_HttpError_method_setCode_param_code}public java.lang.String getErrorMsg()
${services_rest_HttpError_method_getErrorMsg_Title}
${services_rest_HttpError_method_getErrorMsg_Description}
@Deprecated public void setErrorMsg(java.lang.String errorMsg)
${services_rest_HttpError_method_setErrorMsg_Title}
${services_rest_HttpError_method_setErrorMsg_Description}
errorMsg
- ${services_rest_HttpError_method_setErrorMsg_param_errorMsg}