KiCad PCB EDA Suite
SEXPR::INVALID_TYPE_EXCEPTION Class Reference

#include <sexpr_exception.h>

Inheritance diagram for SEXPR::INVALID_TYPE_EXCEPTION:

Public Member Functions

 INVALID_TYPE_EXCEPTION (const std::string &aMessage)
 
const char * what () const noexcept override
 
virtual ~INVALID_TYPE_EXCEPTION () noexcept
 

Private Attributes

std::string msg
 

Detailed Description

Definition at line 38 of file sexpr_exception.h.

Constructor & Destructor Documentation

◆ INVALID_TYPE_EXCEPTION()

SEXPR::INVALID_TYPE_EXCEPTION::INVALID_TYPE_EXCEPTION ( const std::string &  aMessage)
inline

Definition at line 41 of file sexpr_exception.h.

41: msg( aMessage ) {}

◆ ~INVALID_TYPE_EXCEPTION()

virtual SEXPR::INVALID_TYPE_EXCEPTION::~INVALID_TYPE_EXCEPTION ( )
inlinevirtualnoexcept

Definition at line 43 of file sexpr_exception.h.

43{}

Member Function Documentation

◆ what()

const char * SEXPR::INVALID_TYPE_EXCEPTION::what ( ) const
inlineoverridenoexcept

Definition at line 42 of file sexpr_exception.h.

42{ return msg.c_str(); }

References msg.

Member Data Documentation

◆ msg

std::string SEXPR::INVALID_TYPE_EXCEPTION::msg
private

Definition at line 46 of file sexpr_exception.h.

Referenced by what().


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