OpenShot Library | libopenshot 0.5.0
Loading...
Searching...
No Matches
openshot::InvalidJSON Class Reference

Exception for invalid JSON. More...

#include <Exceptions.h>

Inheritance diagram for openshot::InvalidJSON:
openshot::FileExceptionBase openshot::ExceptionBase

Public Member Functions

 InvalidJSON (std::string message, std::string file_path="")
 Constructor.
virtual ~InvalidJSON () 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 invalid JSON.

Definition at line 217 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 226 of file Exceptions.h.

◆ ~InvalidJSON()

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

Definition at line 228 of file Exceptions.h.


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