Class WebDAVServerException

  • All Implemented Interfaces:
    java.io.Serializable

    public class WebDAVServerException
    extends java.lang.Exception
    Exception class that represents an error in the WebDAV protocol layer
    Author:
    gavinc
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WebDAVServerException​(int httpStatusCode)
      Constructs a WebDAVException
      WebDAVServerException​(int httpStatusCode, java.lang.Throwable cause)
      Constructs a WebDAVException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()
      Returns the cause of this exception
      int getHttpStatusCode()
      Returns the HTTP status code
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • WebDAVServerException

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

        public WebDAVServerException​(int httpStatusCode,
                                     java.lang.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 java.lang.Throwable getCause()
        Returns the cause of this exception
        Overrides:
        getCause in class java.lang.Throwable
        Returns:
        The cause of this exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
        See Also:
        Object.toString()