Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
owt::base::Exception Class Reference

Class for exceptions. More...

#include <owt/base/exception.h>

Public Member Functions

 Exception ()
 Default constructor for exceptions.
 
 Exception (const ExceptionType &type, const std::string &message)
 Constructor with type and message. More...
 
ExceptionType Type () const
 Get exception type. More...
 
std::string Message () const
 Get exception message. More...
 

Detailed Description

Class for exceptions.

Constructor & Destructor Documentation

◆ Exception()

owt::base::Exception::Exception ( const ExceptionType &  type,
const std::string &  message 
)

Constructor with type and message.

Parameters
typeException type.
messageException message.

Member Function Documentation

◆ Message()

std::string owt::base::Exception::Message ( ) const

Get exception message.

Returns
Exception message.

◆ Type()

ExceptionType owt::base::Exception::Type ( ) const

Get exception type.

Returns
Exception type.