Class ExceptionConverter
java.lang.Object
org.apache.commons.vfs2.provider.webdav4.ExceptionConverter
Converts WebDAV exceptions into FileSystemExceptions.
- Since:
- 2.5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.commons.vfs2.FileSystemException
generate
(org.apache.jackrabbit.webdav.DavException cause) Generates a new instance of FileSystemException.
-
Method Details
-
generate
public static org.apache.commons.vfs2.FileSystemException generate(org.apache.jackrabbit.webdav.DavException cause) throws org.apache.commons.vfs2.FileSystemException Generates a new instance of FileSystemException.- Parameters:
cause
- The cause of the new exception.- Returns:
- A new FileSystemException.
- Throws:
org.apache.commons.vfs2.FileSystemException
- If an Exception is caught while generating a new instance.
-