Public Member Functions | List of all members
ParseException Class Reference

Class to declare error message format when parsing, derived from the public class "std::runtime_error". More...

#include <parse_exception.hpp>

Inheritance diagram for ParseException:
Inheritance graph
[legend]

Public Member Functions

 ParseException (const std::string &error)
 

Detailed Description

Class to declare error message format when parsing, derived from the public class "std::runtime_error".

Date
17/08/20 Such error messages shall be thrown whenever a parser class has an unrecoverable issue parsing a message.. Note that "std::runtime_error" is already a class derived from the base class "exception". Note on "explicit" keyword: When a class has a constructor which can be called with a single argument (since arguments might be set to some values by default), then this constructor becomes a conversion constructor, since it allows the !implicit! conversion of the single argument to the full class. We can avoid such implicit conversions as these may lead to unexpected results by making the constructor explicit with the help of the "explicit" keyword.

Definition at line 87 of file parse_exception.hpp.

Constructor & Destructor Documentation

◆ ParseException()

ParseException::ParseException ( const std::string &  error)
inlineexplicit

Definition at line 90 of file parse_exception.hpp.


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


septentrio_gnss_driver
Author(s): Tibor Dome
autogenerated on Sat Mar 11 2023 03:12:56