aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Extensions/ResourceNotFoundException.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-22 15:14:58 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-06-22 15:14:58 -0400
commit6ff89eab78a9d25fc8a8d195af558bf1c7ab4d8f (patch)
tree74610f02ea9b8cbd0b60ab0482944d56003aafdb /MediaBrowser.Common/Extensions/ResourceNotFoundException.cs
parente7706fa8a3c16b3196cdc8e170f5d66aba471a77 (diff)
fixes #2588 - OpenSubtitlesDownloader doesn't respect X-Ratelimit-Requests-Remaining
Diffstat (limited to 'MediaBrowser.Common/Extensions/ResourceNotFoundException.cs')
-rw-r--r--MediaBrowser.Common/Extensions/ResourceNotFoundException.cs21
1 files changed, 21 insertions, 0 deletions
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
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
+ /// </summary>
+ public RateLimitExceededException()
+ {
+
+ }
+
+ /// <summary>
+ /// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
+ /// </summary>
+ /// <param name="message">The message.</param>
+ public RateLimitExceededException(string message)
+ : base(message)
+ {
+
+ }
+ }
}