Package org.jitterbit.integration.client.ui.interchange.component.page.panel

Examples of org.jitterbit.integration.client.ui.interchange.component.page.panel.IntegrationDataPanelException


    }

    @Override
    public void apply() throws IntegrationDataPanelException {
        if (isInFirstPage) {
            throw new IntegrationDataPanelException("No fields have been defined.");
        }
        stopEditing();
        validateEnteredData();
        super.apply();
        applyStructure();
View Full Code Here


        } catch (ValidationAbortedException ex) {
            // The user has decided to abort the saving process. This will happen if some data is
            // flawed and the user gets presented with an option to continue or abort and choses to abort.
            throw new ApplyAbortedException(ex.getMessage());
        } catch (InputPanelException ex) {
            throw new IntegrationDataPanelException(ex.getMessage());
        }
    }
View Full Code Here

    private void applyStructure() throws IntegrationDataPanelException {
        try {
            applyStructure(getDisplayedObject());
        } catch (TextDocumentDefinitionException ex) {
            throw new IntegrationDataPanelException(ex.getMessage());
        }
    }
View Full Code Here

                String defVal = tableData.getDefaultValue(p);
                descriptor.addProperty(p, defVal);
            }
            m.setUserDefinedProperties(descriptor);
        } catch (IllegalArgumentException ex) {
            throw new IntegrationDataPanelException(ex.getMessage(), ex);
        }
    }
View Full Code Here

    @Override
    public void apply() throws IntegrationDataPanelException {
        LocatableTopPanel topPanel = getTopPanel();
        if (topPanel.getType() == null) {
            throw new IntegrationDataPanelException(getString("Target.TypeMissing"));
        }
        super.apply();
        applyLocation();
        getDisplayedObject().setLocation(getDisplayedLocation());
    }
View Full Code Here

    private void onInvalidValueApplied(JmsMessage m) throws IntegrationDataPanelException {
        if (ALLOW_INVALID_VALUES) {
            m.setTimeToLive(0L);
        } else {
            String s = valueField.getValue();
            throw new IntegrationDataPanelException(PackageResources.LifeTimeDefiner.getInvalidValueMessage(s));
        }
    }
View Full Code Here

        updateCache(loc);
    }

    private void vaildateInput() throws IntegrationDataPanelException {
        if (!driverSelector.hasDriverSelection()) {
            throw new IntegrationDataPanelException("Must select a driver.");
        }
    }
View Full Code Here

    @Override
    public void apply() throws IntegrationDataPanelException {
        LocatableTopPanel topPanel = getTopPanel();
        if (topPanel.getType() == null) {
            throw new IntegrationDataPanelException(getString("Source.TypeMissing"));
        }
        super.apply();
        applyLocation();
        getDisplayedObject().setLocation(getDisplayedLocation());
    }
View Full Code Here

    @Override
    public void apply() throws IntegrationDataPanelException {
        try {
            entity.setName(nameField.getValue());
        } catch (IllegalNameException e) {
            throw new IntegrationDataPanelException(e);
        }
    }
View Full Code Here

        } else {
            StringBuffer sb = new StringBuffer("Invalid context properties:");
            for (String err : v.getErrors()) {
                sb.append("\n").append(err);
            }
            throw new IntegrationDataPanelException(sb.toString());
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.component.page.panel.IntegrationDataPanelException

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.