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 FileSystemException
generate
(org.apache.jackrabbit.webdav.DavException cause) Generates a new instance of FileSystemException.
-
Method Details
-
generate
public 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.
-