hyphenate_SDK4.0 4.14.0
hyphenate java IM SDK
 
载入中...
搜索中...
未找到
com.hyphenate.exceptions.HyphenateException类 参考

Public 成员函数

 HyphenateException (String desc)
 
 HyphenateException (String desc, Throwable cause)
 
 HyphenateException (int errorCode, String desc)
 
int getErrorCode ()
 
String getDescription ()
 
void setErrorCode (int errorCode)
 

详细描述

基于 Exception 的异常类。

构造及析构函数说明

◆ HyphenateException() [1/3]

com.hyphenate.exceptions.HyphenateException.HyphenateException ( String desc)

用给定的描述构造一个异常。

参数
desc异常信息。

◆ HyphenateException() [2/3]

com.hyphenate.exceptions.HyphenateException.HyphenateException ( String desc,
Throwable cause )

用给定的描述和异常的起因构造一个异常。

参数
desc异常描述。
cause异常起因。

◆ HyphenateException() [3/3]

com.hyphenate.exceptions.HyphenateException.HyphenateException ( int errorCode,
String desc )

用给定的错误码和异常描述构造一个异常。

参数
errorCode错误码。
desc异常描述。

成员函数说明

◆ getDescription()

String com.hyphenate.exceptions.HyphenateException.getDescription ( )

获取异常信息。

返回
异常信息。

◆ getErrorCode()

int com.hyphenate.exceptions.HyphenateException.getErrorCode ( )

获取错误码。

返回
错误码。

◆ setErrorCode()

void com.hyphenate.exceptions.HyphenateException.setErrorCode ( int errorCode)

设置错误码。

参数
errorCode错误码。

该类的文档由以下文件生成: