Package org.alfresco.repo.webdav
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebDAVServerException(int httpStatusCode)Constructs a WebDAVExceptionWebDAVServerException(int httpStatusCode, Throwable cause)Constructs a WebDAVException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()Returns the cause of this exceptionintgetHttpStatusCode()Returns the HTTP status codeStringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
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 codecause- 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
-
toString
public String toString()
- Overrides:
toStringin classThrowable- See Also:
Object.toString()
-
-