OpenShot Library | libopenshot  0.3.3
Public Member Functions | List of all members
openshot::InvalidFile Class Reference

Exception for files that can not be found or opened. More...

#include <Exceptions.h>

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

Public Member Functions

 InvalidFile (std::string message, std::string file_path)
 Constructor. More...
 
virtual ~InvalidFile () noexcept
 
- Public Member Functions inherited from openshot::FileExceptionBase
 FileExceptionBase (std::string message, std::string file_path="")
 
virtual std::string py_message () const override
 
- Public Member Functions inherited from openshot::ExceptionBase
 ExceptionBase (std::string message)
 
virtual const char * what () const noexcept
 
virtual ~ExceptionBase () noexcept
 

Additional Inherited Members

- Public Attributes inherited from openshot::FileExceptionBase
std::string file_path
 
- Protected Attributes inherited from openshot::ExceptionBase
std::string m_message
 

Detailed Description

Exception for files that can not be found or opened.

Definition at line 187 of file Exceptions.h.

Constructor & Destructor Documentation

◆ InvalidFile()

openshot::InvalidFile::InvalidFile ( std::string  message,
std::string  file_path 
)
inline

Constructor.

Parameters
messageA message to accompany the exception
file_pathThe input file being processed

Definition at line 196 of file Exceptions.h.

◆ ~InvalidFile()

virtual openshot::InvalidFile::~InvalidFile ( )
inlinevirtualnoexcept

Definition at line 198 of file Exceptions.h.


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