/** * Creates the {@link AggregatedExceptionSensorData} object for the table input from the list of * same type aggregated objects. * * @param throwableType * Throwable type. * @param dataList * List of {@link AggregatedExceptionSensorData} * @return Aggregated data for the table. */ private AggregatedExceptionSensorData createObjectForOverview(String throwableType, List<AggregatedExceptionSensorData> dataList) { AggregatedExceptionSensorData data = new AggregatedExceptionSensorData(); data.setThrowableType(throwableType); for (AggregatedExceptionSensorData object : dataList) { if (data.getPlatformIdent() == 0) { data.setPlatformIdent(object.getPlatformIdent()); } data.aggregateExceptionData(object); } return data; }