diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2020-11-16 07:47:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 07:47:21 +0100 |
| commit | d53f97d8034d134c8f1cc7b137656257ba0b5a80 (patch) | |
| tree | 0598995fee38a886eb015768f4006acb83aa3f4e /MediaBrowser.Model/Net/HttpException.cs | |
| parent | 84b0932cfee9d83efce63813f7028b23ca3a0ceb (diff) | |
| parent | e66d79fc0cf1a1a3554e530adfdd3fa8be6967a5 (diff) | |
Merge pull request #4480 from crobibero/http-exception
Remove custom HttpException
Diffstat (limited to 'MediaBrowser.Model/Net/HttpException.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/HttpException.cs | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/MediaBrowser.Model/Net/HttpException.cs b/MediaBrowser.Model/Net/HttpException.cs deleted file mode 100644 index 48ff5d51c..000000000 --- a/MediaBrowser.Model/Net/HttpException.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Net; - -namespace MediaBrowser.Model.Net -{ - /// <summary> - /// Class HttpException. - /// </summary> - public class HttpException : Exception - { - /// <summary> - /// Gets or sets the status code. - /// </summary> - /// <value>The status code.</value> - public HttpStatusCode? StatusCode { get; set; } - - /// <summary> - /// Gets or sets a value indicating whether this instance is timed out. - /// </summary> - /// <value><c>true</c> if this instance is timed out; otherwise, <c>false</c>.</value> - public bool IsTimedOut { get; set; } - - /// <summary> - /// Initializes a new instance of the <see cref="HttpException" /> class. - /// </summary> - /// <param name="message">The message.</param> - /// <param name="innerException">The inner exception.</param> - public HttpException(string message, Exception innerException) - : base(message, innerException) - { - } - - /// <summary> - /// Initializes a new instance of the <see cref="HttpException" /> class. - /// </summary> - /// <param name="message">The message.</param> - public HttpException(string message) - : base(message) - { - } - } -} |
