inicpp
C++ parser of INI files with schema validation.
inicpp::bad_cast_exception Class Reference

#include <exception.h>

+ Inheritance diagram for inicpp::bad_cast_exception:

Public Member Functions

 bad_cast_exception (const std::string &message)
 
 bad_cast_exception (const std::string &from, const std::string &to)
 
virtual const char * what () const noexcept
 

Protected Attributes

std::string what_
 

Detailed Description

Occurs when two elements cannot be successfully casted.

Definition at line 73 of file exception.h.

Constructor & Destructor Documentation

inicpp::bad_cast_exception::bad_cast_exception ( const std::string &  message)
inline

General bad_cast_exception constructor with given description.

Parameters
messageexception cause

Definition at line 80 of file exception.h.

inicpp::bad_cast_exception::bad_cast_exception ( const std::string &  from,
const std::string &  to 
)
inline

Constructor in which casted elements can be specified.

Parameters
fromtype from which conversion was invoked
totype to which conversion was invoked

Definition at line 88 of file exception.h.

Member Function Documentation

virtual const char* inicpp::exception::what ( ) const
inlinevirtualnoexceptinherited

Return description of this exception instance.

Returns
c-string textual description

Definition at line 47 of file exception.h.

Member Data Documentation

std::string inicpp::exception::what_
protectedinherited

Description of exception

Definition at line 19 of file exception.h.


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