From 6ff89eab78a9d25fc8a8d195af558bf1c7ab4d8f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 22 Jun 2017 15:14:58 -0400 Subject: fixes #2588 - OpenSubtitlesDownloader doesn't respect X-Ratelimit-Requests-Remaining --- .../Extensions/ResourceNotFoundException.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'MediaBrowser.Common/Extensions/ResourceNotFoundException.cs') diff --git a/MediaBrowser.Common/Extensions/ResourceNotFoundException.cs b/MediaBrowser.Common/Extensions/ResourceNotFoundException.cs index 403236b3d..86a974229 100644 --- a/MediaBrowser.Common/Extensions/ResourceNotFoundException.cs +++ b/MediaBrowser.Common/Extensions/ResourceNotFoundException.cs @@ -25,4 +25,25 @@ namespace MediaBrowser.Common.Extensions } } + + public class RateLimitExceededException : Exception + { + /// + /// Initializes a new instance of the class. + /// + public RateLimitExceededException() + { + + } + + /// + /// Initializes a new instance of the class. + /// + /// The message. + public RateLimitExceededException(string message) + : base(message) + { + + } + } } -- cgit v1.2.3