using System;
using System.Net;
namespace WebDAVSharp.Server.Exceptions {
///
/// This exception is thrown when a request uses a HTTP method or functionality that has yet to
/// be implemented.
/// Statuscode: 501 Not Implemented.
///
[Serializable]
public class WebDavNotImplementedException : 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 WebDavNotImplementedException(string message = null, Exception innerException = null)
: base(HttpStatusCode.NotImplemented, message, innerException) {
// Do nothing here
}
}
}