using System; using System.Net; namespace WebDAVSharp.Server.Exceptions { /// /// Statuscode: 411 Length Required. /// [Serializable] public class WebDavLengthRequiredException : WebDavException { /// /// Initializes a new instance of the class. /// /// The exception message stating the reason for the exception being thrown. /// The /// that is the cause for this exception; /// or /// null if no inner exception is specified. public WebDavLengthRequiredException(string message = null, Exception innerException = null) : base(HttpStatusCode.LengthRequired, message, innerException) { // Do nothing here } } }