Basic CanOpen exception that contains the Object dictionary index and subindex. More...
#include <exceptions.h>
Public Member Functions | |
ProtocolException (const uint16_t index, const uint8_t subindex, const std::string &error_msg="none") | |
virtual const char * | what () const _GLIBCXX_USE_NOEXCEPT |
virtual | ~ProtocolException (void) _GLIBCXX_USE_NOEXCEPT |
Protected Attributes | |
std::string | error_msg_ |
uint16_t | index_ |
uint8_t | subindex_ |
Basic CanOpen exception that contains the Object dictionary index and subindex.
Definition at line 37 of file exceptions.h.
icl_hardware::canopen_schunk::ProtocolException::ProtocolException | ( | const uint16_t | index, |
const uint8_t | subindex, | ||
const std::string & | error_msg = "none" |
||
) | [inline] |
Definition at line 40 of file exceptions.h.
virtual icl_hardware::canopen_schunk::ProtocolException::~ProtocolException | ( | void | ) | [inline, virtual] |
Definition at line 48 of file exceptions.h.
virtual const char* icl_hardware::canopen_schunk::ProtocolException::what | ( | ) | const [inline, virtual] |
Reimplemented in icl_hardware::canopen_schunk::TimeoutException, and icl_hardware::canopen_schunk::ResponseException.
Definition at line 50 of file exceptions.h.
std::string icl_hardware::canopen_schunk::ProtocolException::error_msg_ [protected] |
Definition at line 62 of file exceptions.h.
Definition at line 60 of file exceptions.h.
Definition at line 61 of file exceptions.h.