Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rte.exception.RteException Class Reference
Inheritance diagram for io.agora.rte.exception.RteException:

## Public Member Functions
| RteException (String message)
| RteException (String message, int errorCode)
Constants.ErrorCode | errorCode ()

## Detailed Description

The RteException class.

Since
  v4.4.0

## Member Function Documentation

## ◆ errorCode()

Constants.ErrorCode io.agora.rte.exception.RteException.errorCode | ( |  | ) |

Get the error code.

Since
  v4.4.0

Returns
  The error code.

Reimplemented in io.agora.rte.exception.AuthenticationFailedException, io.agora.rte.exception.NetworkErrorException, and io.agora.rte.exception.StreamNotFoundException.