// Token: 0x0600005A RID: 90 RVA: 0x00002E18 File Offset: 0x00001018
        internal static ExceptionDetails Create(Exception e)
        {
            ExceptionDetails result = null;

            if (e != null)
            {
                result = new ExceptionDetails
                {
                    ExceptionTimeUtc = DateTime.UtcNow,
                    ExceptionType    = e.GetType().ToString(),
                    Details          = e.ToString()
                };
            }
            return(result);
        }
 // Token: 0x06000039 RID: 57 RVA: 0x00002BB4 File Offset: 0x00000DB4
 internal void AddException(Exception e)
 {
     if (AuditLogSearchHealth.IsExceptionInterestingForDiagnostics(e))
     {
         ExceptionDetails exceptionDetails = ExceptionDetails.Create(e);
         if (exceptionDetails != null)
         {
             lock (this.syncRoot)
             {
                 if (this.exceptions.Count == 25)
                 {
                     this.exceptions.RemoveAt(0);
                 }
                 this.exceptions.Add(exceptionDetails);
             }
         }
     }
 }