@Test(expected = ParameterException.class) public void testConvertError() { converter.convert("hello world"); }
@Override public byte[] convert(String value) { try { return ArrayConverter.hexStringToByteArray(value); } catch (IllegalArgumentException ex) { throw new ParameterException("Could not parse " + value + ". Not a hex String"); } }
ByteArrayConverter implements IStringConverter<byte[]> { @Override public byte[] convert(String value) { try { return ArrayConverter.hexStringToByteArray(value); } catch (IllegalArgumentException ex) { throw new ParameterException("Could not parse " + value + ". Not a hex String"); } } }
ByteArrayConverter implements IStringConverter<byte[]> { @Override public byte[] convert(String value) { try { return ArrayConverter.hexStringToByteArray(value); } catch (IllegalArgumentException ex) { throw new ParameterException("Could not parse " + value + ". Not a hex String"); } }  }
ByteArrayConverter implements IStringConverter<byte[]> { @Override public byte[] convert(String value) { try { return ArrayConverter.hexStringToByteArray(value); } catch (IllegalArgumentException ex) { throw new ParameterException("Could not parse " + value + ". Not a hex String"); } }  @Override byte[] convert(String value); }
ByteArrayConverter implements IStringConverter<byte[]> { @Override public byte[] convert(String value) { try { return ArrayConverter.hexStringToByteArray(value); } catch (IllegalArgumentException ex) { throw new ParameterException("Could not parse " + value + ". Not a hex String"); } }  @Override byte[] convert(String value);  }