vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
ven::ParserException Class Referencefinal

Custom exception class for parsing errors. More...

#include <Parser.hpp>

+ Inheritance diagram for ven::ParserException:
+ Collaboration diagram for ven::ParserException:

Public Member Functions

 ParserException (std::string msg)
 
 ~ParserException () override=default
 
 ParserException (const ParserException &)=delete
 
ParserExceptionoperator= (const ParserException &)=delete
 
 ParserException (ParserException &&)=delete
 
ParserExceptionoperator= (ParserException &&)=delete
 
const char * what () const noexcept override
 

Private Attributes

std::string m_msg {0}
 

Detailed Description

Custom exception class for parsing errors.

Definition at line 24 of file Parser.hpp.

Constructor & Destructor Documentation

◆ ParserException() [1/3]

ven::ParserException::ParserException ( std::string msg)
inlineexplicit

Definition at line 28 of file Parser.hpp.

◆ ~ParserException()

ven::ParserException::~ParserException ( )
overridedefault

◆ ParserException() [2/3]

ven::ParserException::ParserException ( const ParserException & )
delete

◆ ParserException() [3/3]

ven::ParserException::ParserException ( ParserException && )
delete

Member Function Documentation

◆ operator=() [1/2]

ParserException & ven::ParserException::operator= ( const ParserException & )
delete

◆ operator=() [2/2]

ParserException & ven::ParserException::operator= ( ParserException && )
delete

◆ what()

const char * ven::ParserException::what ( ) const
inlinenodiscardoverridenoexcept

Definition at line 36 of file Parser.hpp.

References m_msg.

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_msg

std::string ven::ParserException::m_msg {0}
private

Definition at line 40 of file Parser.hpp.

Referenced by what().


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