public void ProcessConcurrent(object threadSet)
 {
     Global.Tracer.Assert(base.m_dataSet.Name != null, "The name of a data set cannot be null.");
     try
     {
         if (Global.Tracer.TraceVerbose)
         {
             Global.Tracer.Trace(TraceLevel.Verbose, "Thread has started processing data set '{0}'", base.m_dataSet.Name.MarkAsPrivate());
         }
         this.Process(null);
     }
     catch (ProcessingAbortedException)
     {
         if (Global.Tracer.TraceWarning)
         {
             Global.Tracer.Trace(TraceLevel.Warning, "Data set '{0}': Report processing has been aborted.", base.m_dataSet.Name.MarkAsPrivate());
         }
         if (!base.m_odpContext.StreamingMode)
         {
             goto end_IL_0063;
         }
         throw;
         end_IL_0063 :;
     }
     catch (Exception ex2)
     {
         if (Global.Tracer.TraceError)
         {
             Global.Tracer.Trace(TraceLevel.Error, "An exception has occurred in data set '{0}'. Details: {1}", base.m_dataSet.Name.MarkAsPrivate(), ex2.ToString());
         }
         if (base.m_odpContext.AbortInfo != null)
         {
             base.m_odpContext.AbortInfo.SetError(ex2, base.m_odpContext.ProcessingAbortItemUniqueIdentifier);
             goto end_IL_00ac;
         }
         throw;
         end_IL_00ac :;
     }
     finally
     {
         if (Global.Tracer.TraceVerbose)
         {
             Global.Tracer.Trace(TraceLevel.Verbose, "Processing of data set '{0}' completed.", base.m_dataSet.Name.MarkAsPrivate());
         }
         ThreadSet threadSet2 = threadSet as ThreadSet;
         if (threadSet2 != null)
         {
             threadSet2.ThreadCompleted();
         }
     }
 }
Example #2
0
 public void ProcessConcurrent(object threadSet)
 {
     try
     {
         if (Global.Tracer.TraceVerbose)
         {
             Global.Tracer.Trace(TraceLevel.Verbose, "Thread has started processing data source '{0}'", base.DataSourceDefinition.Name.MarkAsModelInfo());
         }
         this.Process(false);
     }
     catch (ProcessingAbortedException)
     {
         if (Global.Tracer.TraceWarning)
         {
             Global.Tracer.Trace(TraceLevel.Warning, "Data source '{0}': Report processing has been aborted.", base.DataSourceDefinition.Name.MarkAsModelInfo());
         }
         if (!base.m_odpContext.StreamingMode)
         {
             goto end_IL_0043;
         }
         throw;
         end_IL_0043 :;
     }
     catch (Exception ex2)
     {
         if (Global.Tracer.TraceError)
         {
             Global.Tracer.Trace(TraceLevel.Error, "An exception has occurred in data source '{0}'. Details: {1}", base.DataSourceDefinition.Name.MarkAsModelInfo(), ex2.ToString());
         }
         if (base.OdpContext.AbortInfo != null)
         {
             base.OdpContext.AbortInfo.SetError(ex2, base.OdpContext.ProcessingAbortItemUniqueIdentifier);
             goto end_IL_008c;
         }
         throw;
         end_IL_008c :;
     }
     finally
     {
         if (Global.Tracer.TraceVerbose)
         {
             Global.Tracer.Trace(TraceLevel.Verbose, "Processing of data source '{0}' completed.", base.DataSourceDefinition.Name.MarkAsModelInfo());
         }
         ThreadSet threadSet2 = threadSet as ThreadSet;
         if (threadSet2 != null)
         {
             threadSet2.ThreadCompleted();
         }
     }
 }