using System;
using System.Net;
namespace MediaBrowser.Model.Net
{
    /// 
    /// Class HttpException.
    /// 
    public class HttpException : Exception
    {
        /// 
        /// Gets or sets the status code.
        /// 
        /// The status code.
        public HttpStatusCode? StatusCode { get; set; }
        /// 
        /// Gets or sets a value indicating whether this instance is timed out.
        /// 
        /// true if this instance is timed out; otherwise, false.
        public bool IsTimedOut { get; set; }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The message.
        /// The inner exception.
        public HttpException(string message, Exception innerException)
            : base(message, innerException)
        {
        }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The message.
        public HttpException(string message)
            : base(message)
        {
        }
    }
}