Class ExceptionConverter
java.lang.Object
org.apache.commons.vfs2.provider.webdav.ExceptionConverter
Converts WebDAV exceptions into FileSystemExceptions.
- Since:
- 2.0
- 
Method SummaryModifier and TypeMethodDescriptionstatic FileSystemExceptiongenerate(org.apache.jackrabbit.webdav.DavException cause) Generates a new instance of FileSystemException.static FileSystemExceptiongenerate(org.apache.jackrabbit.webdav.DavException cause, org.apache.jackrabbit.webdav.client.methods.DavMethod davMethod) Generates a new instance of FileSystemException.
- 
Method Details- 
generatepublic static FileSystemException generate(org.apache.jackrabbit.webdav.DavException cause) throws FileSystemException Generates a new instance of FileSystemException.- Parameters:
- cause- The cause of the new exception.
- Returns:
- A new FileSystemException.
- Throws:
- FileSystemException- If an Exception is caught while generating a new instance.
 
- 
generatepublic static FileSystemException generate(org.apache.jackrabbit.webdav.DavException cause, org.apache.jackrabbit.webdav.client.methods.DavMethod davMethod) throws FileSystemException Generates a new instance of FileSystemException.- Parameters:
- cause- The cause of the new exception.
- davMethod- Ignored.
- Returns:
- A new FileSystemException.
- Throws:
- FileSystemException- If an Exception is caught while generating a new instance.
 
 
-