WebDavForbiddenException.cs 946 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Net;
  3. namespace WebDAVSharp.Server.Exceptions
  4. {
  5. /// <summary>
  6. /// Statuscode: 403 Forbidden.
  7. /// </summary>
  8. public class WebDavForbiddenException : WebDavException
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="WebDavForbiddenException" /> class.
  12. /// </summary>
  13. /// <param name="message">The exception message stating the reason for the exception being thrown.</param>
  14. /// <param name="innerException">
  15. /// The
  16. /// <see cref="Exception" /> that is the cause for this exception;
  17. /// or
  18. /// <c>null</c> if no inner exception is specified.
  19. /// </param>
  20. public WebDavForbiddenException(string message = null, Exception innerException = null)
  21. : base(HttpStatusCode.Forbidden, message, innerException)
  22. {
  23. // Do nothing here
  24. }
  25. }
  26. }