devmonkZA / nmodbus

Automatically exported from code.google.com/p/nmodbus
0 stars 0 forks source link

SlaveException class is inaccessible #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the design that we are using we have a Proxy class to hide the
implementation of the Modbus interface incase we decide to change
libraries.   When writing/reading we need to determine whether a Exception
is due to a network failure or whether it was due to a PLC error.  We would
like to capture the 'SlaveException' that is being generated but because
the class is not declared with the 'Public' keyword it is not accessible in
the calling class.

Original issue reported on code.google.com by mccar...@att.net on 26 Apr 2007 at 3:26

GoogleCodeExporter commented 8 years ago
oops. good point, i'll make that change in the new release which should be out 
this 
weeekend.

thanks for the very good comments.

Scott

Original comment by sja...@gmail.com on 26 Apr 2007 at 5:07

GoogleCodeExporter commented 8 years ago

Original comment by sja...@gmail.com on 2 Dec 2007 at 1:37