KatanaNativeInterface
$VERSION$
|
Go to the documentation of this file.
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) {}
Not all bytes could be written to the serial communication device.
Reading from the serial communication device failed.
The Katana returned an error string.
Failed to open the serial communication device.
This exception is the base for the WriteNotComplete and ReadNotCompleteException.
Could not set or get the attributes for the given serial communication device.
const int error_number() const
ErrorException(const std::string &error)
ReadWriteNotCompleteException(const std::string &errstr, const int error_number)
ReadNotCompleteException(const std::string &port)
PortNotOpenException(const std::string &port)
Exception(const std::string &message, const int error_number)
WriteNotCompleteException(const std::string &port)
CannotGetSetPortAttributesException(const std::string &port)
DeviceWriteException(const std::string &port, const std::string os_msg)
DeviceReadException(const std::string &port, const std::string os_msg)
CannotOpenPortException(const std::string &port, const std::string os_msg)
The Katana didn't answer correctly within the given timeout.
Writing to the serial communication device failed.