public class FaultResponse extends Object
| Constructor and Description |
|---|
FaultResponse() |
| Modifier and Type | Method and Description |
|---|---|
static FaultResponse |
createFail(int errorCode,
String errorMsg) |
int |
getErrorCode() |
String |
getErrorMsg() |
void |
setErrorCode(int errorCode) |
void |
setErrorMsg(String errorMsg) |
public static FaultResponse createFail(int errorCode, String errorMsg)
public int getErrorCode()
public void setErrorCode(int errorCode)
public String getErrorMsg()
public void setErrorMsg(String errorMsg)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.