Esempio n. 1
0
 public RSException(ErrorCode errorCode, string localizedMessage, Exception innerException, RSTrace tracer, string additionalTraceMessage, TraceLevel traceLevel, params object[] exceptionData)
     : base(localizedMessage, innerException)
 {
     m_ErrorCode       = errorCode;
     m_ProductLocaleID = CultureInfo.CurrentCulture.LCID;
     m_CountryLocaleID = CultureInfo.InstalledUICulture.LCID;
     m_OS = Microsoft.ReportingServices.Diagnostics.Utilities.OperatingSystem.OsIndependent;
     m_AdditionalTraceMessage = additionalTraceMessage;
     m_tracer        = tracer;
     m_traceLevel    = traceLevel;
     m_exceptionData = exceptionData;
     Trace();
     OnExceptionCreated();
 }
Esempio n. 2
0
 public RSException(ErrorCode errorCode, string localizedMessage, Exception innerException, RSTrace tracer, string additionalTraceMessage, params object[] exceptionData)
     : this(errorCode, localizedMessage, innerException, tracer, additionalTraceMessage, TraceLevel.Error, exceptionData)
 {
 }