#include <excepts.h>
Inheritance diagram for cornelluniversity::vetsim_timeout:
Public Member Functions | |
vetsim_timeout (const std::string &errstr) | |
constructor | |
vetsim_timeout (const char *errstr) | |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. constructor, overloaded to accept the traditional c-style string. |
This is intended to catch errors resulting from failed checksum (crc16) validation checks. A likely scenerio is to catch the failue and reply to the transmitter with a NAK, essentially asking for a retransmission. cornelluniversity::vetsim_exception
Definition at line 137 of file excepts.h.
cornelluniversity::vetsim_timeout::vetsim_timeout | ( | const std::string & | errstr | ) | [inline] |
cornelluniversity::vetsim_timeout::vetsim_timeout | ( | const char * | errstr | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. constructor, overloaded to accept the traditional c-style string.
errstr | - sets a custom error message. |