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

Exception for invalid JSON. More...

#include <Exceptions.h>

Inheritance diagram for openshot::InvalidJSON:
openshot::BaseException

Public Member Functions

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

Public Attributes

std::string file_path
 

Additional Inherited Members

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

Detailed Description

Exception for invalid JSON.

Definition at line 205 of file Exceptions.h.

Constructor & Destructor Documentation

◆ InvalidJSON()

openshot::InvalidJSON::InvalidJSON ( 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 215 of file Exceptions.h.

◆ ~InvalidJSON()

virtual openshot::InvalidJSON::~InvalidJSON ( )
inlinevirtualnoexcept

Definition at line 217 of file Exceptions.h.

Member Data Documentation

◆ file_path

std::string openshot::InvalidJSON::file_path

Definition at line 208 of file Exceptions.h.


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