exception

Module: Exceptions

The base class for the SDK exceptions.

#include <exception.h>

Inherits from exception

Inherited by dolbyio::comms::async_operation_canceled, dolbyio::comms::certificate_exception, dolbyio::comms::conference_exception, dolbyio::comms::io_exception, dolbyio::comms::json_exception, dolbyio::comms::jwt_exception, dolbyio::comms::media_exception, dolbyio::comms::session_exception

Public Functions

Name
~exception() =default
const char *what() const override
Overrides to std::exception that returns a description of the exception.
exception(const std::string & description)
The constructor that takes the description of the exception.

Protected Attributes

Name
std::stringfulldescription
class dolbyio::comms::exception;

Public Functions Documentation

function ~exception

~exception() =default

function what

inline const char * what() const override

Overrides to std::exception that returns a description of the exception.

Return: A string that describes the exception.

function exception

inline exception(
    const std::string & description
)

The constructor that takes the description of the exception.

Parameters:

  • description A string indicating a reason for the exception.

Protected Attributes Documentation

variable fulldescription

std::string full_description_;


Did this page help you?