Package org.jitterbit.application.appdir

Examples of org.jitterbit.application.appdir.AppDirInitializationException


        try {
            AppDirLocationProvider locationProvider = ApplicationConfiguration.getAppDirLocationProvider();
            ApplicationDirectoryFactory factory = ApplicationConfiguration.getAppDirFactory();
            appDir = factory.createDirectory(locationProvider);
            if (appDir == null) {
                throw new AppDirInitializationException("Failed to create the application directory");
            }
        } catch (ApplicationConfigurationException ex) {
            throw new AppDirInitializationException("Failed to create the application directory: " + ex.getMessage(),
                            ex);
        }
    }
View Full Code Here


            }
            return dir;
        } catch (AppDirInitializationException ex) {
            throw ex;
        } catch (Exception ex) {
            throw new AppDirInitializationException("Failed to create the application directory", ex);
        }
    }
View Full Code Here

    private MutableJmsProviderStore createUserDefinedProviderStore() throws AppDirInitializationException {
        File root = new File(getLocation(), PROVIDER_STORE_NAME);
        File userLocation = new File(root, USER_DEFINED_PROVIDER_STORE_NAME);
        if (!userLocation.exists() && !userLocation.mkdirs()) {
            throw new AppDirInitializationException("Failed to create the JMS provider store.");
        }
        return JmsProviderStoreFactory.newFileBasedStore(userLocation);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.appdir.AppDirInitializationException

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.