智能客服
你问我答,随时在线为你解决问题
Exception Info |
|---|
com.huawei.hms.mlsdk.textembedding.MLTextEmbeddingException 异常状态处理类,封装文本嵌入的各种状态。 |
Qualifier and Type | Field and Description | |
|---|---|---|
int | 查询失败。 | |
int | 鉴权失败。 | |
int | 内部错误。 | |
int | 网络不可用。 | |
int | 非法参数。 | |
int | 服务不可用。 | |
int | Token非法或者失效。 | |
Qualifier and Type | Method Name and Description |
|---|---|
int | 获取异常码。 |
Field |
|---|
public static final int ERR_ANALYZE_FAILED 查询失败。 Constant Value: 12104 |
Field |
|---|
public static final int ERR_AUTH_FAILED 鉴权失败。 Constant Value: 12102 |
Field |
|---|
public static final int ERR_INNER 内部错误。 Constant Value: 12101 |
Field |
|---|
public static final int ERR_NET_UNAVAILABLE 网络不可用。 Constant Value: 12198 |
Field |
|---|
public static final int ERR_PARAM_ILLEGAL 非法参数。 Constant Value: 12103 |
Field |
|---|
public static final int ERR_SERVICE_IS_UNAVAILABLE 服务不可用。 Constant Value: 12199 |
Field |
|---|
public static final int ERR_AUTH_TOKEN_INVALIDE Token非法或者失效。 Constant Value: 12105 |
Method |
|---|
public int getErrCode() 获取异常码。 |
Type | Description |
|---|---|
int | 返回异常码。 |