public enum ExceptAll extends Enum<ExceptAll> implements IExcept
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDesc()
得到错误的描述,一般来说提供给开发人员查看或记录到log
|
String |
getErrMsg()
返回错误信息
|
String |
getErrMsg(Object errBean)
得到错误的国际化提示信息可以提供给客户查看
|
String |
getErrorCode()
得到错误编码
|
int |
getErrorValue()
得到错误值
|
String |
getHttp()
http编码
|
static int |
getHttp(IExcept error) |
static int |
getHttp(String http)
通过http得到httpstatus
|
int |
getHttpCode() |
int |
getHttpCodeSub() |
void |
setHttpCode(int httpCode) |
void |
setHttpCodeSub(int httpCodeSub) |
static ExceptAll |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ExceptAll[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ExceptAll no
public static final ExceptAll project_undefined
public static final ExceptAll project_user
public static final ExceptAll Project_default
public static final ExceptAll project_noservice
public static final ExceptAll project_clienterror
public static final ExceptAll project_streamclose
public static final ExceptAll project_nonull
public static final ExceptAll project_overflow
public static final ExceptAll project_overarry
public static final ExceptAll project_formatnofit
public static final ExceptAll project_datenofitformate
public static final ExceptAll project_serviceerror
public static final ExceptAll project_runshell
public static final ExceptAll project_timeout
public static final ExceptAll project_nosupportos
public static final ExceptAll project_haveerrors
public static final ExceptAll project_nosupport
public static final ExceptAll project_newjava
public static final ExceptAll project_other
public static final ExceptAll param_error
public static final ExceptAll Param_dynaerror
public static final ExceptAll Param_typenofit
public static final ExceptAll Param_lengthover
public static final ExceptAll param_notfit
public static final ExceptAll conn_nocontrol
public static final ExceptAll conn_nochannel
public static final ExceptAll conn_nobean
public static final ExceptAll auth_no_rightful
public static final ExceptAll auth_no_login
public static final ExceptAll auth_proxy_setting
public static final ExceptAll mybatis_notable
public static final ExceptAll duckula_nodata
public static final ExceptAll duckula_es_formate
public static final ExceptAll duckula_es_query
public static final ExceptAll duckula_es_refresh
public static final ExceptAll duckula_es_flush
public static final ExceptAll duckula_es_batch
public static final ExceptAll duckula_datanofit
public static final ExceptAll jdbc_conn_fail
public static final ExceptAll jdbc_query_primary
public static final ExceptAll jdbc_exec_fail
public static final ExceptAll jdbc_sql_package
public static final ExceptAll jdbc_sql_notOpenRs
public static final ExceptAll ssh_close_pool
public static final ExceptAll ssh_auth_fail
public static final ExceptAll ssh_session_open
public static final ExceptAll ssh_session_command
public static final ExceptAll ssh_pool_config
public static final ExceptAll ssh_pool_conn
public static final ExceptAll ssh_client_create
public static final ExceptAll k8s_api_other
public static final ExceptAll k8s_deploy_conflict
public static final ExceptAll k8s_api_notfind
public static final ExceptAll k8s_api_pagenotfound
public static final ExceptAll k8s_api_exists
public static final ExceptAll k8s_conn_error
public static final ExceptAll k8s_deploy_excetion
public static final ExceptAll k8s_api_versionnotexit
public static final ExceptAll flink_udf_nodef
public static final ExceptAll flink_udf_errorformate
public static final ExceptAll flink_udf_moduleperseerror
public static final ExceptAll flink_catalog_table
public static final ExceptAll flink_catalog_tablenotexit
public static final ExceptAll flink_catalog_logictableexit
public static final ExceptAll flink_catalog_fieldnotexit
public static final ExceptAll flink_catalog_optcheck
public static final ExceptAll flink_source_deserialize
public static final ExceptAll flink_gateway_nosession
public static final ExceptAll flink_catalog_nosuppert
public static final ExceptAll component_init
public static final ExceptAll kafka_other
public static final ExceptAll kafka_notopic
public static ExceptAll[] values()
for (ExceptAll c : ExceptAll.values()) System.out.println(c);
public static ExceptAll valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getErrorValue()
IExceptgetErrorValue 在接口中 IExceptpublic String getErrorCode()
IExceptgetErrorCode 在接口中 IExceptpublic int getHttpCode()
public void setHttpCode(int httpCode)
public int getHttpCodeSub()
public void setHttpCodeSub(int httpCodeSub)
public static int getHttp(String http)
http - http编码public static int getHttp(IExcept error)
Copyright © 2023. All rights reserved.