WorkerThreadException.cs 587 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SmartCoalApplication.Core
  7. {
  8. public class WorkerThreadException : PdnException
  9. {
  10. private const string defaultMessage = "Worker thread threw an exception";
  11. public WorkerThreadException(Exception innerException)
  12. : this(defaultMessage, innerException)
  13. {
  14. }
  15. public WorkerThreadException(string message, Exception innerException)
  16. : base(message, innerException)
  17. {
  18. }
  19. }
  20. }