Agora Java API Reference for Android

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

Rte exception information. More...

Inheritance diagram for io.agora.rte.exception.RteException:

## Public Member Functions
| RteException (String message)
| RteException (String message, int errorCode)
Constants.ErrorCode | errorCode ()
| Gets the error code carried by the `RteException`. More...

## Detailed Description

Rte exception information.

Since
  v4.4.0

## Member Function Documentation

## ◆ errorCode()

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

Gets the error code carried by the `RteException`.

Returns
  The error code carried by this exception. See `ErrorCode` for details.

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