nmealib
0.0.4
NMEA 0183/NMEA 2000 parsing library
Loading...
Searching...
No Matches
src
nmeaException.cpp
Go to the documentation of this file.
1
#include "
nmealib/nmeaException.h
"
2
3
namespace
nmealib
{
4
5
NmeaException::NmeaException
(
const
std::string& context,
const
std::string& message,
const
std::string& details)
6
: std::runtime_error(context +
": "
+ message + (details.empty() ?
""
:
" ("
+ details +
")"
)) {
7
}
8
9
}
// namespace nmealib
nmealib::NmeaException::NmeaException
NmeaException(const std::string &context, const std::string &message, const std::string &details="")
Constructs an NmeaException with context, message, and optional details.
Definition
nmeaException.cpp:5
nmealib
Definition
parse.h:11
nmeaException.h
Generated by
1.9.8