diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-06-22 15:14:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-06-22 15:14:58 -0400 |
| commit | 6ff89eab78a9d25fc8a8d195af558bf1c7ab4d8f (patch) | |
| tree | 74610f02ea9b8cbd0b60ab0482944d56003aafdb /MediaBrowser.Common/Extensions/ResourceNotFoundException.cs | |
| parent | e7706fa8a3c16b3196cdc8e170f5d66aba471a77 (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.cs | 21 |
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) + { + + } + } } |
