@Test(expected = IllegalArgumentException.class) public void testConvertInvalidTrue() throws Exception { converter.convert("one"); }
@Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } } }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  @Override Integer convert(String s); @Override String toString(Integer value); }
IntegerValueConverter extends AbstractValueConverter<Integer> { @Override public Integer convert(String s) { try { return Integer.valueOf(s); } catch (RuntimeException e) { throw new IllegalArgumentException("Can't convert '" + s + "' to Integer.", e); } }  @Override Integer convert(String s); @Override String toString(Integer value); static final IntegerValueConverter INSTANCE; }