org.apache.jackrabbit.webdav.jcr
Class JcrDavException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.jackrabbit.webdav.DavException
              extended byorg.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

Constructor Summary
JcrDavException(Exception e, int errorCode)
           
JcrDavException(RepositoryException e)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JcrDavException

public JcrDavException(Exception e,
                       int errorCode)

JcrDavException

public JcrDavException(RepositoryException e)
Method Detail

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.