101102103104105106107108109
} } } if (i == numberOfRetries) { throw new MonitoringException("1104", "Could not send events to monitoring service after " + numberOfRetries + " retries.", lastException, events); } }
314315316317318319320321322323
try { monitoringServiceClient.putEvents(events); } catch (MonitoringException e) { throw e; } catch (Exception e) { throw new MonitoringException("002", "Unknown error while execute put events to Monitoring Server", e); } }