|
@@ -15,8 +15,7 @@ public class HexValueConverter extends AbstractLexerBasedConverter<Integer> {
|
|
|
public static final String HEX_PREFIX = "0x";
|
|
|
|
|
|
@Override
|
|
|
- public Integer toValue(String string, INode node)
|
|
|
- throws ValueConverterException {
|
|
|
+ public Integer toValue(String string, INode node) {
|
|
|
|
|
|
if (Strings.isEmpty(string))
|
|
|
throw new ValueConverterException("Couldn't convert empty string to number.", node, null);
|