// Token: 0x06001585 RID: 5509 RVA: 0x0004CCEC File Offset: 0x0004AEEC internal static string GetExceptionLogString(Exception e) { if (e == null) { throw new ArgumentNullException("e is null"); } string empty = string.Empty; List <string> list = null; List <string> list2 = null; PolicyTipProtocolLog.GetExceptionTypeAndDetails(e, out list, out list2, out empty, true); return(empty); }
internal void SetException(Exception e) { if (e != null) { List <string> list = null; List <string> list2 = null; string exceptionChain = null; PolicyTipProtocolLog.GetExceptionTypeAndDetails(e, out list, out list2, out exceptionChain, false); this.OuterExceptionType = list[0]; this.OuterExceptionMessage = list2[0]; if (list.Count > 1) { this.InnerExceptionType = list[list.Count - 1]; this.InnerExceptionMessage = list2[list2.Count - 1]; } this.ExceptionChain = exceptionChain; } }