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

Exception thrown when a sentence is not a valid MWV sentence. More...

#include <mwv.h>

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

Public Member Functions

 NotMWVException (const std::string &context, const std::string &details="")
 Construct a NotMWVException with context and optional details.
 
- 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 a sentence is not a valid MWV sentence.

This exception is raised during parsing when the sentence type is not "MWV" or the payload does not conform to the expected MWV format.

Definition at line 14 of file mwv.h.

Constructor & Destructor Documentation

◆ NotMWVException()

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

Construct a NotMWVException with context and optional details.

Parameters
contextA short string identifying where the exception was thrown.
detailsOptional additional information about the failure.

Definition at line 22 of file mwv.h.


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