steveohara / j2mod

Enhanced Modbus library implemented in the Java programming language
Apache License 2.0
276 stars 110 forks source link

Additional logging and adding cause when throwing an exception. #7

Closed martentamerius closed 8 years ago

martentamerius commented 8 years ago

Added additional logging and added cause parameter to Modbus(IO)Exception to facilitate more extensive troubleshooting and error traceability. Substituted printStackTrace()-calls for logging messages.

steveohara commented 8 years ago

Hi Marten,

As per my comment on another pull request, 17 files are seemingly affected by this change which is down to your line ending issue.

Thanks, Steve

martentamerius commented 8 years ago

Hello Steve, I'll reissue this pull request in addition to the other one after redoing the changes and double checking the line endings... Marten