Chat SDK for Android v1.3.1
agora java chat SDK
|
Inherits Exception.
Public Member Functions | |
ChatException (String desc) | |
ChatException (String desc, Throwable cause) | |
ChatException (int errorCode, String desc) | |
int | getErrorCode () |
String | getDescription () |
void | setErrorCode (int errorCode) |
The exception class that inherits from Exception
.
io.agora.exceptions.ChatException.ChatException | ( | String | desc | ) |
Constructs an exception with the given description.
desc | The exception description. |
io.agora.exceptions.ChatException.ChatException | ( | String | desc, |
Throwable | cause | ||
) |
Constructs an exception with the given description and exception cause.
desc | The exception description. |
cause | The exception cause. |
io.agora.exceptions.ChatException.ChatException | ( | int | errorCode, |
String | desc | ||
) |
Constructs an exception with the given description and error code.
errorCode | The error code. |
desc | The exception description. |
String io.agora.exceptions.ChatException.getDescription | ( | ) |
Gets the exception description.
int io.agora.exceptions.ChatException.getErrorCode | ( | ) |
Gets the error code.
void io.agora.exceptions.ChatException.setErrorCode | ( | int | errorCode | ) |
Sets the error code.
errorCode | The error code to set. |