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

Exception when memory could not be allocated. More...

#include <Exceptions.h>

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

Public Member Functions

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

Public Attributes

std::string file_path
 

Additional Inherited Members

- Protected Attributes inherited from openshot::ExceptionBase
std::string m_message
 

Detailed Description

Exception when memory could not be allocated.

Definition at line 321 of file Exceptions.h.

Constructor & Destructor Documentation

◆ OutOfMemory()

openshot::OutOfMemory::OutOfMemory ( std::string  message,
std::string  file_path = "" 
)
inline

Constructor.

Parameters
messageA message to accompany the exception
file_path(optional) The input file being processed

Definition at line 331 of file Exceptions.h.

◆ ~OutOfMemory()

virtual openshot::OutOfMemory::~OutOfMemory ( )
inlinevirtualnoexcept

Definition at line 333 of file Exceptions.h.

Member Data Documentation

◆ file_path

std::string openshot::OutOfMemory::file_path

Definition at line 324 of file Exceptions.h.


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