public class WebDAVServerException extends Exception
Constructor and Description |
---|
WebDAVServerException(int httpStatusCode)
Constructs a WebDAVException
|
WebDAVServerException(int httpStatusCode,
Throwable cause)
Constructs a WebDAVException
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this exception
|
int |
getHttpStatusCode()
Returns the HTTP status code
|
String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public WebDAVServerException(int httpStatusCode)
httpStatusCode
- The HTTP status codepublic WebDAVServerException(int httpStatusCode, Throwable cause)
httpStatusCode
- The HTTP status codecause
- The cause of this exceptionpublic int getHttpStatusCode()
public Throwable getCause()
public String toString()
toString
in class Throwable
Object.toString()
Copyright © 2005–2017 Alfresco Software. All rights reserved.