OpenShot Library | libopenshot  0.2.7
Public Member Functions | Protected Attributes | List of all members
openshot::ExceptionBase Class Reference

Base exception class with a custom message variable. More...

#include <Exceptions.h>

Inheritance diagram for openshot::ExceptionBase:
openshot::ChunkNotFound openshot::DecklinkError openshot::ErrorDecodingAudio openshot::ErrorEncodingAudio openshot::ErrorEncodingVideo openshot::InvalidChannels openshot::InvalidCodec openshot::InvalidFile openshot::InvalidFormat openshot::InvalidJSON openshot::InvalidJSONKey openshot::InvalidOptions openshot::InvalidSampleRate openshot::NoStreamsFound openshot::OutOfBoundsFrame openshot::OutOfBoundsPoint openshot::OutOfMemory openshot::ReaderClosed openshot::ResampleError openshot::WriterClosed

Public Member Functions

 ExceptionBase (std::string message)
 
virtual const char * what () const noexcept
 
virtual ~ExceptionBase () noexcept
 

Protected Attributes

std::string m_message
 

Detailed Description

Base exception class with a custom message variable.

A std::exception-derived exception class with custom message. All OpenShot exception classes inherit from this class.

Definition at line 44 of file Exceptions.h.

Constructor & Destructor Documentation

◆ ExceptionBase()

openshot::ExceptionBase::ExceptionBase ( std::string  message)
inline

Definition at line 49 of file Exceptions.h.

◆ ~ExceptionBase()

virtual openshot::ExceptionBase::~ExceptionBase ( )
inlinevirtualnoexcept

Definition at line 50 of file Exceptions.h.

Member Function Documentation

◆ what()

virtual const char* openshot::ExceptionBase::what ( ) const
inlinevirtualnoexcept

Definition at line 51 of file Exceptions.h.

Member Data Documentation

◆ m_message

std::string openshot::ExceptionBase::m_message
protected

Definition at line 47 of file Exceptions.h.

Referenced by what().


The documentation for this class was generated from the following file: