// Token: 0x060000D9 RID: 217 RVA: 0x000043DC File Offset: 0x000025DC public ExceptionWrapper GetLastInnerEx() { if (this.InnerExWrapper == null) { return(null); } ExceptionWrapper exceptionWrapper = this.InnerExWrapper; while (exceptionWrapper.InnerException != null && !exceptionWrapper.InnerException.IsEmpty) { exceptionWrapper = exceptionWrapper.InnerException; } return(exceptionWrapper); }
// Token: 0x0600003B RID: 59 RVA: 0x000029C8 File Offset: 0x00000BC8 private static ExceptionWrapper Wrap(Exception ex) { ExceptionWrapper exceptionWrapper = new ExceptionWrapper(); exceptionWrapper.Data = ex.Data; exceptionWrapper.Message = ex.Message; exceptionWrapper.StackTrace = ex.StackTrace; exceptionWrapper.ExceptionType = ex.GetType().AssemblyQualifiedName; if (ex.InnerException != null) { exceptionWrapper.InnerException = ExceptionWrapper.Wrap(ex.InnerException); } return(exceptionWrapper); }
// Token: 0x0600003A RID: 58 RVA: 0x000029BF File Offset: 0x00000BBF public static ExceptionWrapper WrapEx(Exception ex) { return(ExceptionWrapper.Wrap(ex)); }