目录

BaseException

Class Info

public class BaseException extends Exception

An exception thrown by the HMS Core Push SDK.

Public Method Summary

Qualifier and Type

Method Name and Description

int

getErrorCode()

Obtains a result code.

String

getMessage()

Obtains result code description.

Public Methods

[h2]getErrorCode

Method

public int getErrorCode()

Obtains a result code.

Returns

Type

Description

int

Result code. For details, please refer to Result Codes.

[h2]getMessage

Method

public String getMessage()

Obtains result code description. This method inherits from the java.lang.Throwable class.

Returns

Type

Description

String

Result code description.