SummaryDimensionDSClient summaryDimension = null;
try {
summaryDimension = BAMUtil.getSummaryDimensionDSClient();
return summaryDimension.getYearDimension(year.get(Calendar.YEAR));
} catch (Exception e) {
throw new BAMException("Retrieving year dimension failed for timestamp "
+ BAMCalendar.getInstance(year).getBAMTimestamp(), e);
} finally {
if (summaryDimension != null) {
summaryDimension.cleanup();
}