cornelluniversity::vetsim_timeout Class Reference

Exception object for use with the vet serial protocol. More...

#include <excepts.h>

Inheritance diagram for cornelluniversity::vetsim_timeout:

cornelluniversity::vetsim_exception List of all members.

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.

Detailed Description

Exception object for use with the vet serial protocol.

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.


Constructor & Destructor Documentation

cornelluniversity::vetsim_timeout::vetsim_timeout ( const std::string &  errstr  )  [inline]

constructor

Parameters:
errstr - sets a custom error message.
See also:
vetexcept_badchksum(const char * errstr)

Definition at line 144 of file excepts.h.

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.

Parameters:
errstr - sets a custom error message.
See also:
vetexcept_badchksum(const std::string & errstr)

Definition at line 151 of file excepts.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 27 11:11:48 2012 for VetSim by  doxygen 1.4.7