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

Exception thrown when an NMEA 0183 sentence exceeds the maximum allowed length of 82 characters. More...

#include <nmea0183.h>

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

Public Member Functions

 TooLongSentenceException (const std::string &context, const std::string &details="")
 Constructs a TooLongSentenceException.
 
- 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 exceeds the maximum allowed length of 82 characters.

Definition at line 14 of file nmea0183.h.

Constructor & Destructor Documentation

◆ TooLongSentenceException()

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

Constructs a TooLongSentenceException.

Parameters
contextA string identifying where the error occurred.
detailsOptional extra information (e.g., actual sentence length).

Definition at line 22 of file nmea0183.h.


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