public class ErrorCodeInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorCodeInfo.Code |
| Constructor and Description |
|---|
ErrorCodeInfo() |
ErrorCodeInfo(ErrorCodeInfo.Code code,
String info) |
ErrorCodeInfo(ErrorCodeInfo src) |
ErrorCodeInfo(int code,
String info) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearError() |
static String |
formatApiCode(int code) |
String |
getErrorCode() |
String |
getErrorInfo() |
boolean |
hasError() |
void |
set(ErrorCodeInfo.Code code,
String info) |
void |
set(ErrorCodeInfo errorCodeInfo) |
void |
set(int code,
String info) |
void |
set(String code,
String info) |
void |
setErrorCode(String errorCode) |
void |
setErrorInfo(String errorInfo) |
boolean |
succeed() |
String |
toString() |
public ErrorCodeInfo()
public ErrorCodeInfo(int code,
String info)
public ErrorCodeInfo(ErrorCodeInfo.Code code, String info)
public ErrorCodeInfo(ErrorCodeInfo src)
public void set(ErrorCodeInfo errorCodeInfo)
public void set(int code,
String info)
public String getErrorCode()
public String getErrorInfo()
public void setErrorCode(String errorCode)
public void setErrorInfo(String errorInfo)
public void set(ErrorCodeInfo.Code code, String info)
public void clearError()
public boolean hasError()
public boolean succeed()
public static String formatApiCode(int code)
Copyright © 2024 DolphinDB. All rights reserved.