public void Handle(Exception exception)
 {
     var args = new SolrClusterExceptionEventArgs(exception);
     lock (handlers)
         foreach (var handler in handlers)
             try {
                 handler(sender, args);
             } catch {}
 }
        public void Handle(Exception exception)
        {
            var args = new SolrClusterExceptionEventArgs(exception);

            lock (handlers)
                foreach (var handler in handlers)
                {
                    try {
                        handler(sender, args);
                    } catch {}
                }
        }