Documentation

InvalidFrameException Class Reference
[Error Management]

Invalid frame error. More...

Inheritance diagram for InvalidFrameException:
BusProtocolException

List of all members.

Public Member Functions

 InvalidFrameException ()
 Creates a new InvalidFrameException instance.

Static Public Member Functions

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

Detailed Description

Invalid frame error.

Signals that a received frame does not correspond either by structure or content to the specification or does not match a previously sent query frame. A poor data link typically causes this error.

See also:
BusProtocolException

Member Function Documentation

static long getCounter (  )  [static]

Returns how often this exception has been triggered.

Returns:
Counter value

Reimplemented from BusProtocolException.


FieldTalk Modbus Master Library, Java Edition
Library version 2.6.5