private static void Sleep(GoogleApiException e) { if (e != null) { Trace.TraceError("msg: " + e.Message); Trace.TraceError("stack trace: " + e.StackTrace); } Trace.WriteLine("error while fetching tasks"); Trace.WriteLine("going to sleep..zzZ"); Thread.Sleep(Defs.Scheduling.IDLE_SLEEP_TIME); }
/// <summary> /// Initializes a new instance of the BigQueryExcpetion class with the specified settings. /// </summary> /// <param name="message">The message describing the current exception.</param> /// <param name="innerException">A GoogleApiException object representing.</param> public BigQueryException(string message, GoogleApiException innerException) : base(message, innerException) { }