Documentation

MbusSlaveFailureException Class Reference
[Error Management]

Slave Device Failure exception response. More...

Inheritance diagram for MbusSlaveFailureException:
MbusResponseException BusProtocolException

List of all members.

Public Member Functions

 MbusSlaveFailureException ()
 Constructs a MbusSlaveFailureException.

Static Public Member Functions

static long getCounter ()
 Returns how often this exception has been triggered.
static void resetCounter ()
 Resets exception counter.

Detailed Description

Slave Device Failure exception response.

Signals that a Slave Device Failure exception response (code 04) was received. This exception response is sent by a slave device instead of a normal response message if an unrecoverable error occured while processing the requested action. This response is also sent if the request would generate a response whose size exceeds the allowable data size.

See also:
MbusResponseException

Member Function Documentation

static long getCounter (  )  [static]

Returns how often this exception has been triggered.

Returns:
Counter value

Reimplemented from MbusResponseException.


FieldTalk Modbus Master Library, Java Edition
Library version 2.6.5