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

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

#include <Exceptions.h>

Inheritance diagram for openshot::BaseException:
[legend]
Collaboration diagram for openshot::BaseException:
[legend]

Public Member Functions

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

Protected Attributes

std::string m_message
 

Detailed Description

Base exception class with a custom message variable.

A custom error message field has been added to the std::exception base class. All OpenShot exception classes inherit from this class.

Definition at line 44 of file Exceptions.h.

Constructor & Destructor Documentation

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

Definition at line 49 of file Exceptions.h.

virtual openshot::BaseException::~BaseException ( )
inlinevirtualnoexcept

Definition at line 50 of file Exceptions.h.

Member Function Documentation

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

Definition at line 51 of file Exceptions.h.

Member Data Documentation

std::string openshot::BaseException::m_message
protected

Definition at line 47 of file Exceptions.h.


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