} catch (BindException e) {
if (retries < tries - 1) {
LOGGER.warn("Could not bind to port; trying again");
}
} catch (Exception e) {
throw new ClientDriverSetupException(
"Error starting jetty on port " + port, e);
}
}
throw new ClientDriverSetupException(
"Error starting jetty on port " + port + " after " + tries + " tries", null);
}