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) |
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) |
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 void set(ErrorCodeInfo.Code code, String info)
public void clearError()
public boolean hasError()
public boolean succeed()
public static String formatApiCode(int code)
Copyright © 2023 DolphinDB. All rights reserved.