Class WebDAVServerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.alfresco.repo.webdav.WebDAVServerException
All Implemented Interfaces:
Serializable

public class WebDAVServerException extends Exception
Exception class that represents an error in the WebDAV protocol layer
Author:
gavinc
See Also:
  • Constructor Details

    • WebDAVServerException

      public WebDAVServerException(int httpStatusCode)
      Constructs a WebDAVException
      Parameters:
      httpStatusCode - The HTTP status code
    • WebDAVServerException

      public WebDAVServerException(int httpStatusCode, Throwable cause)
      Constructs a WebDAVException
      Parameters:
      httpStatusCode - The HTTP status code
      cause - The cause of this exception
  • Method Details

    • getHttpStatusCode

      public int getHttpStatusCode()
      Returns the HTTP status code
      Returns:
      The HTTP status code
    • getCause

      public Throwable getCause()
      Returns the cause of this exception
      Overrides:
      getCause in class Throwable
      Returns:
      The cause of this exception
    • toString

      public String toString()
      Overrides:
      toString in class Throwable
      See Also: