OpenShot Library | libopenshot  0.3.3
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:
[legend]
Collaboration diagram for openshot::ExceptionBase:
[legend]

Public Member Functions

 ExceptionBase (std::string message)
 
virtual std::string py_message () const
 
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 27 of file Exceptions.h.

Constructor & Destructor Documentation

◆ ExceptionBase()

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

Definition at line 32 of file Exceptions.h.

◆ ~ExceptionBase()

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

Definition at line 33 of file Exceptions.h.

Member Function Documentation

◆ py_message()

virtual std::string openshot::ExceptionBase::py_message ( ) const
inlinevirtual

◆ what()

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

Definition at line 34 of file Exceptions.h.

Member Data Documentation

◆ m_message

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

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