for (int count = 0; count < Integer.valueOf(request.param("count")); count++) {
errors.add("Bad request reason #" + count);
}
throw BadRequestException.create(errors);
});
<BUG>createNewDefaultAction(newController, "fail_to_write_errors")
.setHandler((request, response) -> {
format("this will fail as no args are given %s");
});</BUG>
createNewDefaultAction(newController, "alive")

for (int count = 0; count < Integer.valueOf(request.param("count")); count++) {
errors.add("Bad request reason #" + count);
}
throw BadRequestException.create(errors);
});
createNewDefaultAction(newController, "error_message_having_percent")
.setHandler((request, response) -> {
throw new IllegalArgumentException("this should not fail %s");
});
createNewDefaultAction(newController, "alive")
