Examples of WizardPageException


Examples of org.jitterbit.application.ui.wizard.WizardPageException

        case XML:
            return getXmlStructure(msg);
        case TEXT:
            return getTextStructure(msg);
        }
        throw new WizardPageException(this, "The selected JMS message has an unknown payload type: " + payloadType +
                ". Please revisit the definition for the selected JMS message.");
    }
View Full Code Here

Examples of org.jitterbit.application.ui.wizard.WizardPageException

    }
   
    private TextStructure getTextStructure(JmsMessage msg) throws WizardPageException {
        TextDocumentId docId = msg.getPayloadTextDocumentId();
        if (docId == null) {
            throw new WizardPageException(this, "The selected JMS message is defined to have a TEXT payload, " +
                    "but no text structure has been assigned to it. Please revisit the definition for the " +
                    "selected JMS message.");
        }
        TextDocument doc = lookupTextDocument(docId);
        if (doc == null) {
            throw new WizardPageException(this, "The selected JMS message is defined to have a TEXT payload, " +
                "but the system cannot find the defined text structure. Please revisit the definition for the " +
                    "selected JMS message.");
        }
        return doc.getDataStructure();
    }
View Full Code Here

Examples of org.jitterbit.application.ui.wizard.WizardPageException

    }
   
    private XmlStructure getXmlStructure(JmsMessage msg) throws WizardPageException {
        XmlStructure xml = msg.getPayloadXmlStructure();
        if (xml == null) {
            throw new WizardPageException(this, "The selected JMS message is defined to have a XML payload, " +
                    "but no XML structure has been defined for it. Please revisit the definition for the " +
                    "selected JMS message.");
        }
        return xml;
    }
View Full Code Here

Examples of org.jitterbit.application.ui.wizard.WizardPageException

            tf.setTargetTextDocumentId(msg.getPayloadTextDocumentId());
            // TODO: The message properties.
        } else {
            // TODO: This may happen if the user deleted the JMS message before completing
            // the transformation.
            throw new WizardPageException(this, PackageResources.TargetStartPage.NO_TARGET_SELECTED);
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.