bitcoinj/bitcoinj — pull request #254 by erasmospunk (2014-10-24 09:14:29+00:00)
Title: Make Coin.parseCoin method to throw an IllegalArgumentException

The Coin.parseCoin method description says:

`@throws IllegalArgumentException if you try to specify fractional satoshis, or a value out of range.`

But throws an ArithmeticException in cases of fractional satoshis.