openhab/openhab — pull request #1375 by cdjackson (2014-08-29 09:58:42+00:00)
Title: Throw exception if incorrect number format decoded in command class

This PR changes the response to a format error with a received packet. Previously the error was caught and ZERO returned. This now throws a NumberFormat exception which is then caught in the command classes so that we can ignore the error rather than sending an invalid value into the system.