| 程序包 | 说明 |
|---|---|
| com.alipay.mychain.sdk.errorcode | |
| com.alipay.mychain.sdk.exception | |
| com.alipay.mychain.sdk.message |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ErrorCode
Error code for all mychain response.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static IErrorCode |
ErrorCode.forNumber(int value) |
static IErrorCode |
ErrorCode.valueOf(int value) |
| 限定符和类型 | 方法和说明 |
|---|---|
IErrorCode |
MychainSdkException.getErrorCode() |
| 构造器和说明 |
|---|
MychainSdkException(IErrorCode errorCode) |
MychainSdkException(IErrorCode errorCode,
String errorMessage) |
MychainSdkException(IErrorCode errorCode,
String errorMessage,
Throwable e) |
| 限定符和类型 | 方法和说明 |
|---|---|
IErrorCode |
Response.getErrorCode() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
MessageFactory.getResponse(MessageType type,
Request request,
IErrorCode errorCode)
Create response message by request message
|
static <T> T |
MessageFactory.getResponse(Request request,
IErrorCode errorCode)
Create response message by request message
|
void |
Response.setErrorCode(IErrorCode errorCode) |
Copyright © 2022. All rights reserved.