public void populateTable(StatusTable table) throws StatusService.NoSuchTableException { if (table == null) { throw new IllegalArgumentException("Called with null table"); } else if (table.getKey() == null) { throw new IllegalArgumentException("SingleCrawlStatusAccessor requires a key"); } String key = table.getKey(); CrawlerStatus status = statusSource.getStatus().getCrawlerStatus(key); if (status == null) { throw new StatusService.NoSuchTableException( "Status info from that crawl is no longer available"); } table.setDefaultSortRules(statusSortRules); table.setColumnDescriptors(colDescsMimeTypes); table.setTitle(getTableTitle(status)); table.setRows(getRows(status, key)); table.setSummaryInfo(getSummaryInfo(status)); }