Package org.alfresco.repo.webdav
Class WebDAVServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.alfresco.repo.webdav.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 WebDAVExceptionWebDAVServerException(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 exceptionint
getHttpStatusCode()
Returns the HTTP status codejava.lang.String
toString()
-
-
-
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 codecause
- 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 classjava.lang.Throwable
- Returns:
- The cause of this exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
- See Also:
Object.toString()
-
-