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

Exception thrown when an NMEA 0183 sentence does not contain enough comma-separated fields. More...

#include <nmea0183.h>

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

Public Member Functions

 NotEnoughFieldsException (const std::string &context, const std::string &details="")
 Constructs a NotEnoughFieldsException.
 
- 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 contain enough comma-separated fields.

Definition at line 74 of file nmea0183.h.

Constructor & Destructor Documentation

◆ NotEnoughFieldsException()

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

Constructs a NotEnoughFieldsException.

Parameters
contextA string identifying where the error occurred.
detailsOptional extra information (e.g., expected vs. actual field count).

Definition at line 82 of file nmea0183.h.


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