Pi4J / pi4j-v1

DEPRECATED Java I/O library for Raspberry Pi (GPIO, I2C, SPI, UART)

Home Page:http://www.pi4j.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

serial API does not throw exceptions

savageautomate opened this issue · comments

For a Java-based API method failures such as "serial.open()" should throw Java exceptions on failures.

All of the methods in the serial class should raise exception on error conditions rather then returning fail int codes.

Fixed in 0.0.5-SNAPSHOT. Issue closed.