public FastReportSerializableException(Exception exception) { Message = exception.Message; StackTrace = exception.StackTrace; if (exception is AggregateException) { InnerException = new FastReportSerializableException(exception.InnerException); } }
public FastReportGenerationException(Exception innerException) : base("Error during report generation") { ExceptionDetail = new FastReportSerializableException(innerException); }