13 #ifndef _CDLCOMEXCEPTIONS_H_ 14 #define _CDLCOMEXCEPTIONS_H_ 50 Exception(
"Cannot open port '" + port +
"': " + os_msg, -10) {}
59 Exception(
"Cannot get/set attributes on '" + port +
"'", -11) {}
68 Exception(
"Port '" + port +
"' not open", -12) {}
78 Exception(
"Read failure on port '" + port +
"': " + os_msg, -13) {}
88 Exception(
"Write failure on port '" + port +
"': " + os_msg, -14) {}
DeviceWriteException(const std::string &port, const std::string os_msg)
PortNotOpenException(const std::string &port)
Exception(const std::string &message, const int error_number)
ReadWriteNotCompleteException(const std::string &errstr, const int error_number)
ErrorException(const std::string &error)
WriteNotCompleteException(const std::string &port)
CannotGetSetPortAttributesException(const std::string &port)
DeviceReadException(const std::string &port, const std::string os_msg)
ReadNotCompleteException(const std::string &port)
CannotOpenPortException(const std::string &port, const std::string os_msg)