Documentation
BusProtocolException Class Reference
[Error Management]
Communication Error. More...
Inheritance diagram for BusProtocolException:
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. | |
Detailed Description
Communication Error.
Errors derived from class indicate either communication faults or Modbus exceptions reported by the slave device.
- See also:
- IOException
Constructor & Destructor Documentation
| BusProtocolException | ( | String | text | ) |
Constructs a BusProtocolException with the specified detail message.
- Parameters:
-
text The detail message.
Member Function Documentation
| static long getCounter | ( | ) | [static] |
Returns how often this exception has been triggered.
- Returns:
- Counter value
Reimplemented in ChecksumException, InvalidFrameException, InvalidReplyException, EvaluationExpiredException, MbusIllegalAddressException, MbusIllegalFunctionException, MbusIllegalValueException, InvalidMbapIdException, MbusResponseException, MbusSlaveFailureException, and ReplyTimeoutException.
FieldTalk Modbus Master Library, Java Edition
Library version 2.6.5