ResourceNotFoundException.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. namespace MediaBrowser.Common.Extensions
  3. {
  4. /// <summary>
  5. /// Class ResourceNotFoundException
  6. /// </summary>
  7. public class ResourceNotFoundException : Exception
  8. {
  9. /// <summary>
  10. /// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
  11. /// </summary>
  12. public ResourceNotFoundException()
  13. {
  14. }
  15. /// <summary>
  16. /// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
  17. /// </summary>
  18. /// <param name="message">The message.</param>
  19. public ResourceNotFoundException(string message)
  20. : base(message)
  21. {
  22. }
  23. }
  24. public class RateLimitExceededException : Exception
  25. {
  26. /// <summary>
  27. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  28. /// </summary>
  29. public RateLimitExceededException()
  30. {
  31. }
  32. /// <summary>
  33. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  34. /// </summary>
  35. /// <param name="message">The message.</param>
  36. public RateLimitExceededException(string message)
  37. : base(message)
  38. {
  39. }
  40. }
  41. }