ResourceNotFoundException.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. /// <summary>
  25. /// Class MethodNotAllowedException
  26. /// </summary>
  27. public class MethodNotAllowedException : Exception
  28. {
  29. /// <summary>
  30. /// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
  31. /// </summary>
  32. public MethodNotAllowedException()
  33. {
  34. }
  35. /// <summary>
  36. /// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
  37. /// </summary>
  38. /// <param name="message">The message.</param>
  39. public MethodNotAllowedException(string message)
  40. : base(message)
  41. {
  42. }
  43. }
  44. public class RemoteServiceUnavailableException : Exception
  45. {
  46. public RemoteServiceUnavailableException()
  47. {
  48. }
  49. public RemoteServiceUnavailableException(string message)
  50. : base(message)
  51. {
  52. }
  53. }
  54. public class RateLimitExceededException : Exception
  55. {
  56. /// <summary>
  57. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  58. /// </summary>
  59. public RateLimitExceededException()
  60. {
  61. }
  62. /// <summary>
  63. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  64. /// </summary>
  65. /// <param name="message">The message.</param>
  66. public RateLimitExceededException(string message)
  67. : base(message)
  68. {
  69. }
  70. }
  71. }