Class JcrDavException

  • All Implemented Interfaces:
    Serializable, org.apache.jackrabbit.webdav.xml.XmlSerializable

    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 Detail

      • hasErrorCondition

        public boolean hasErrorCondition()
        Always returns true.
        Overrides:
        hasErrorCondition in class org.apache.jackrabbit.webdav.DavException
        Returns:
        true
      • toXml

        public Element toXml​(Document document)
        Returns a DAV:error Xml element containing the exceptions class and the message as child elements.
        Specified by:
        toXml in interface org.apache.jackrabbit.webdav.xml.XmlSerializable
        Overrides:
        toXml in class org.apache.jackrabbit.webdav.DavException
        Parameters:
        document -
        Returns:
        Xml representation of this exception.
        See Also:
        XmlSerializable.toXml(Document)