try { float fl = Float.parseFloat(value.getTokenValue()); acceptLanguage.setQValue(fl); } catch (NumberFormatException ex) { throw createParseException(ex.getMessage());
try { float fl = Float.parseFloat(value.getTokenValue()); acceptLanguage.setQValue(fl); } catch (NumberFormatException ex) { throw createParseException(ex.getMessage());