class QueryApiImpl extends AbstractApi implements QueryApi {

  @Override
  public List<ElectedCandidate> listElected(final String voteId, final int showCount) {
    try {
      return getClient().getAccountOperation().listElected(voteId, showCount);
    } catch (Exception e) {
      throw converter.convert(e);
    }
  }

}