ResourceNotFoundException.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #pragma warning disable CS1591
  2. using System;
  3. namespace MediaBrowser.Common.Extensions
  4. {
  5. /// <summary>
  6. /// Class ResourceNotFoundException
  7. /// </summary>
  8. public class ResourceNotFoundException : Exception
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
  12. /// </summary>
  13. public ResourceNotFoundException()
  14. {
  15. }
  16. /// <summary>
  17. /// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
  18. /// </summary>
  19. /// <param name="message">The message.</param>
  20. public ResourceNotFoundException(string message)
  21. : base(message)
  22. {
  23. }
  24. }
  25. /// <summary>
  26. /// Class MethodNotAllowedException
  27. /// </summary>
  28. public class MethodNotAllowedException : Exception
  29. {
  30. /// <summary>
  31. /// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
  32. /// </summary>
  33. public MethodNotAllowedException()
  34. {
  35. }
  36. /// <summary>
  37. /// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
  38. /// </summary>
  39. /// <param name="message">The message.</param>
  40. public MethodNotAllowedException(string message)
  41. : base(message)
  42. {
  43. }
  44. }
  45. public class RemoteServiceUnavailableException : Exception
  46. {
  47. public RemoteServiceUnavailableException()
  48. {
  49. }
  50. public RemoteServiceUnavailableException(string message)
  51. : base(message)
  52. {
  53. }
  54. }
  55. public class RateLimitExceededException : Exception
  56. {
  57. /// <summary>
  58. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  59. /// </summary>
  60. public RateLimitExceededException()
  61. {
  62. }
  63. /// <summary>
  64. /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
  65. /// </summary>
  66. /// <param name="message">The message.</param>
  67. public RateLimitExceededException(string message)
  68. : base(message)
  69. {
  70. }
  71. }
  72. }