rili::XML::SyntaxError Class Referencefinal
Inheritance diagram for rili::XML::SyntaxError:
[legend]
Collaboration diagram for rili::XML::SyntaxError:
[legend]

Public Member Functions

 SyntaxError (size_t position) noexcept
 
const char * what () const noexceptoverride
 
size_t position () const noexcept
 

Constructor & Destructor Documentation

rili::XML::SyntaxError::SyntaxError ( size_t  position)
explicitnoexcept

SyntaxError used to construct exception with known position of error in original XML string.

Parameters
positionaproximate place where error was found

Member Function Documentation

size_t rili::XML::SyntaxError::position ( ) const
noexcept

position used to retrieve error position

Returns
postion
const char* rili::XML::SyntaxError::what ( ) const
overridenoexcept

what is used to retrieve exception message

Returns
exception message

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