/**
  * Destroys and frees any resources taken up by the analytics data service implementation.
  *
  * @throws AnalyticsWebServiceException
  */
 public void destroy() throws AnalyticsWebServiceException {
   try {
     analyticsDataAPI.destroy();
   } catch (Exception e) {
     logger.error("An exception occurred: " + e.getMessage(), e);
     throw new AnalyticsWebServiceException("An exception occurred: " + e.getMessage(), e);
   }
 }