/** @throws IllegalStateException if {@code term} is negative */ @Override public VoteResponse build() { super.build(); if (response.status == Response.Status.OK) { Assert.stateNot(response.term < 0, "term cannot be negative"); } return response; }