예제 #1
0
 internal static void ThrowError(ReportingErrorCode errorCode, string message, Exception exception)
 {
     ExTraceGlobals.ReportingWebServiceTracer.TraceError(0L, message);
     throw new DataServiceException((int)ReportingErrors.HttpStatusCodes[errorCode], errorCode.ToString(), message, string.Empty, exception);
 }
예제 #2
0
 internal static void ThrowError(ReportingErrorCode errorCode, string message)
 {
     ServiceDiagnostics.ThrowError(errorCode, message, null);
 }