try { int duration = Integer.parseInt(value); retryAfter.setDuration(duration); } catch (NumberFormatException ex) { throw createParseException(ex.getMessage());
try { int duration = Integer.parseInt(value); retryAfter.setDuration(duration); } catch (NumberFormatException ex) { throw createParseException(ex.getMessage());