nmealib 0.0.4
NMEA 0183/NMEA 2000 parsing library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
nmealib::nmea0183::InvalidStartCharacterException Class Reference

Exception thrown when an NMEA 0183 sentence does not start with '$' or '!'. More...

#include <nmea0183.h>

Inheritance diagram for nmealib::nmea0183::InvalidStartCharacterException:
Inheritance graph
[legend]
Collaboration diagram for nmealib::nmea0183::InvalidStartCharacterException:
Collaboration graph
[legend]

Public Member Functions

 InvalidStartCharacterException (const std::string &context, const std::string &details="")
 Constructs an InvalidStartCharacterException.
 
- Public Member Functions inherited from nmealib::NmeaException
 NmeaException (const std::string &context, const std::string &message, const std::string &details="")
 Constructs an NmeaException with context, message, and optional details.
 

Detailed Description

Exception thrown when an NMEA 0183 sentence does not start with '$' or '!'.

Definition at line 29 of file nmea0183.h.

Constructor & Destructor Documentation

◆ InvalidStartCharacterException()

nmealib::nmea0183::InvalidStartCharacterException::InvalidStartCharacterException ( const std::string &  context,
const std::string &  details = "" 
)
inlineexplicit

Constructs an InvalidStartCharacterException.

Parameters
contextA string identifying where the error occurred.
detailsOptional extra information.

Definition at line 37 of file nmea0183.h.


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