目录

BaseException

Class Info

public class BaseException extends Exception

Push SDK抛出的异常。

Public Method Summary

Qualifier and Type

Method Name and Description

int

getErrorCode()

获取错误码。

String

getMessage()

获取错误描述信息。

Public Methods

[h2]getErrorCode

Method

public int getErrorCode()

使用此方法获取返回的异常错误码。

Returns

Type

Description

int

错误码,含义请参见错误码。

[h2]getMessage

Method

public String getMessage()

该方法继承自java.lang.Throwable类用于获取错误描述信息。

Returns

Type

Description

String

错误描述信息。