code: public Coin parse(String str) throws NumberFormatException {
          return Coin.valueOf(parseValue(str, Coin.SMALLEST_UNIT_EXPONENT));
      }
docs: Parse a human readable coin value to a {@link Coin} instance.
  
  @throws NumberFormatException
  if the string cannot be parsed for some reason