Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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