Public 成员函数 | |
| HyphenateException (String desc) | |
| HyphenateException (String desc, Throwable cause) | |
| HyphenateException (int errorCode, String desc) | |
| int | getErrorCode () |
| String | getDescription () |
| void | setErrorCode (int errorCode) |
基于 Exception 的异常类。
| com.hyphenate.exceptions.HyphenateException.HyphenateException | ( | String | desc | ) |
用给定的描述构造一个异常。
| desc | 异常信息。 |
| com.hyphenate.exceptions.HyphenateException.HyphenateException | ( | String | desc, |
| Throwable | cause ) |
用给定的描述和异常的起因构造一个异常。
| desc | 异常描述。 |
| cause | 异常起因。 |
| com.hyphenate.exceptions.HyphenateException.HyphenateException | ( | int | errorCode, |
| String | desc ) |
用给定的错误码和异常描述构造一个异常。
| errorCode | 错误码。 |
| desc | 异常描述。 |
| String com.hyphenate.exceptions.HyphenateException.getDescription | ( | ) |
获取异常信息。
| int com.hyphenate.exceptions.HyphenateException.getErrorCode | ( | ) |
获取错误码。
| void com.hyphenate.exceptions.HyphenateException.setErrorCode | ( | int | errorCode | ) |
设置错误码。
| errorCode | 错误码。 |