Communication Error. More...
Public Member Functions | |
BusProtocolException (String text) | |
Constructs a BusProtocolException with the specified detail message. | |
BusProtocolException () | |
Constructs a BusProtocolException without a detail message. | |
Static Public Member Functions | |
static long | getCounter () |
Returns how often this exception has been triggered. | |
static void | resetCounter () |
Resets exception counter. |
Communication Error.
Errors derived from class indicate either communication faults or Modbus exceptions reported by the slave device.
BusProtocolException | ( | String | text | ) |
Constructs a BusProtocolException with the specified detail message.
text | The detail message. |
static long getCounter | ( | ) | [static] |
Returns how often this exception has been triggered.
Reimplemented in ChecksumException, InvalidFrameException, InvalidReplyException, EvaluationExpiredException, MbusIllegalAddressException, MbusIllegalFunctionException, MbusIllegalValueException, InvalidMbapIdException, MbusResponseException, MbusSlaveFailureException, and ReplyTimeoutException.