Package com.adito.vfs.webdav

Examples of com.adito.vfs.webdav.DAVBundleActionMessageException


     */
    public VFSResource getResource(LaunchSession launchSession, String path, PasswordCredentials requestCredentials/*, DAVTransaction transaction*/) throws DAVBundleActionMessageException, IOException, PolicyException, NoPermissionException, DAVAuthenticationRequiredException {

        if (path == null) {
            log.error("Cannot list store root.");
            throw new DAVBundleActionMessageException(new BundleActionMessage("vfs", "vfs.store.root", path));
        }
       
        if(launchSession == null) {
          throw new IOException("Must have launch session.");
        }
View Full Code Here


            fsManager = VFS.getManager();
            ((DefaultFileSystemManager)fsManager).setBaseFile(new File(SystemProperties.get("user.dir")));
           
        } catch (FileSystemException e1) {
          log.error(e1);
            throw new DAVBundleActionMessageException(new BundleActionMessage("vfs", "vfs.fsManager.failed", e1.getMessage()));
        }
       
        try {
            stores = VFSProviderManager.getInstance().createStores(this);
        } catch (Exception e) {
            log.error(e);
            throw new DAVBundleActionMessageException(new BundleActionMessage("vfs", "vfs.store.creation.failed"));
        }
    }
View Full Code Here

TOP

Related Classes of com.adito.vfs.webdav.DAVBundleActionMessageException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.