org.apache.jackrabbit.webdav.jcr
Class JcrDavException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.jcr.JcrDavException
- All Implemented Interfaces:
- Serializable
- public class JcrDavException
- extends org.apache.jackrabbit.webdav.DavException
JcrDavException
extends the DavException
in order to
wrap various repository exceptions.
- See Also:
- Serialized Form
Method Summary |
org.jdom.Element |
getError()
Returns a DAV:error Xml element containing the exceptions class and the
message as child elements. |
Methods inherited from class org.apache.jackrabbit.webdav.DavException |
getErrorCode, getStatusPhrase, getStatusPhrase |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JcrDavException
public JcrDavException(Exception e,
int errorCode)
JcrDavException
public JcrDavException(RepositoryException e)
getError
public org.jdom.Element getError()
- Returns a DAV:error Xml element containing the exceptions class and the
message as child elements.
- Returns:
- Xml representation of this exception.
Copyright © 2005 . All Rights Reserved.