Class WebdavException
- java.lang.Object
-
- java.lang.Throwable
-
- org.bedework.webdav.servlet.shared.WebdavException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WebdavBadRequest,WebdavForbidden,WebdavNotFound,WebdavServerError,WebdavUnauthorized,WebdavUnsupportedMediaType
public class WebdavException extends Throwable
Base exception thrown by webdav classes- Author:
- Mike Douglass douglm rpi.edu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebdavException(int st)ConstructorWebdavException(int st, String msg)ConstructorWebdavException(int st, QName errorTag)ConstructorWebdavException(int st, QName errorTag, String msg)ConstructorWebdavException(String s)ConstructorWebdavException(Throwable t)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetErrorTag()Get the errorTagintgetStatusCode()Get the statusvoidsetStatusCode(int val)Set the status-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WebdavException
public WebdavException(String s)
Constructor- Parameters:
s- message
-
WebdavException
public WebdavException(Throwable t)
Constructor- Parameters:
t- throwable
-
WebdavException
public WebdavException(int st)
Constructor- Parameters:
st- status
-
WebdavException
public WebdavException(int st, String msg)Constructor- Parameters:
st- statusmsg- message
-
WebdavException
public WebdavException(int st, QName errorTag)Constructor- Parameters:
st- statuserrorTag- QName identify error
-
-
Method Detail
-
setStatusCode
public void setStatusCode(int val)
Set the status- Parameters:
val- int status
-
getStatusCode
public int getStatusCode()
Get the status- Returns:
- int status
-
getErrorTag
public QName getErrorTag()
Get the errorTag- Returns:
- QName
-
-