} catch (Exception e) { // Ensure the getResults
// doesn't break report generation.
logger.log(Level.WARNING,
"Exceptions reporting CustomTableMetrics", e);
}
int rows = table.rows();
if (table != null && rows > 0) {
space(8, buffer).append("<customTable name=\"").
append(entry.getKey()).append("\">\n");
space(12, buffer).append("<head>\n");
for (int i = 0; i < table.columns(); i++) {