OpenShot Library | libopenshot  0.3.2
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:
Collaboration diagram for openshot::ExceptionBase:

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)

Definition at line 32 of file Exceptions.h.

◆ ~ExceptionBase()

virtual openshot::ExceptionBase::~ExceptionBase ( )

Definition at line 33 of file Exceptions.h.

Member Function Documentation

◆ py_message()

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

◆ what()

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

Definition at line 34 of file Exceptions.h.

Member Data Documentation

◆ m_message

std::string openshot::ExceptionBase::m_message

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