Package org.jitterbit.integration.client.project

Examples of org.jitterbit.integration.client.project.InterchangeLoadingException


            IntegrationEntityMapLookup lookup = loadEntities(roots);
            SystemObjects.populate(lookup);
            restoreDependentData(lookup);
            return issues;
        } catch (IOException ex) {
            throw new InterchangeLoadingException(ex);
        } catch (SAXException ex) {
            throw new InterchangeLoadingException(ex);
        }
    }
View Full Code Here


        File file = FileSupport.getFile(dataDirectory, entity);
        try {
            XmlPersistor xml = XmlPersistor.load(file);
            entity.restoreDependentData(xml, lookup);
        } catch (Exception ex) {
            throw new InterchangeLoadingException("Failed to load dependent data from the file "
                            + file.getAbsolutePath() + ". Reason: " + ex.getMessage(), ex);
        }
    }
View Full Code Here

                        throws InterchangeLoadingException {
            try {
                XmlPersistor xml = XmlPersistor.load(file);
                entity.restoreFrom(xml);
            } catch (Exception ex) {
                throw new InterchangeLoadingException("Failed to read the entity data from the file "
                        + file.getAbsolutePath() + ". Reason: " + ex.getMessage(), ex);
            }
            entity.setParent(parent);
            lookup.addItem(entity);
        }
View Full Code Here

        File xmlFile = new File(rootDirectory, projectFile.getProperty(ProjectFile.STRUCTURE_INFO));
        ProjectDataSaxParser parser = new ProjectDataSaxParser(this, project, rootDirectory, tracker);
        try {
            parser.loadProject(xmlFile.toURI().toURL());
        } catch (Exception ex) {
            throw new InterchangeLoadingException(ex.getMessage(), ex);
        }
        // The return type of this method was changed in version 2.1.1.
        // This class is used only in < 2.0 versions, so the return type will not be checked.
        return Sets.newHashSet();
    }
View Full Code Here

    public void loadPluginInfo() throws InterchangeLoadingException {
        try {
            PipelinePluginInfoReader reader = new PipelinePluginInfoReader(managedProject);
            reader.read();
        } catch (IOException ex) {
            throw new InterchangeLoadingException(ex);
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.project.InterchangeLoadingException

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.