Package org.jitterbit.integration.data.test

Examples of org.jitterbit.integration.data.test.TestResultException


            persistError(t);
            ErrorLog.attention(TestOperationHandler.class, Strings.get("TestOperation.Error.Message"), t);
        }

        private void persistError(Throwable t) {
            TestResultError error = new TestResultException(t);
            historyWriter.handleError(error);
        }
View Full Code Here


        }

        private void addErrorToHistory(Object o) {
            TestResultError error = null;
            if (o instanceof Throwable) {
                error = new TestResultException((Throwable) o);
            } else if (o != null) {
                error = new TestResultStringError(o.toString());
            } else {
                error = new TestResultStringError("An unknown error occurred.");
            }
View Full Code Here

        try {
            if (isCancelled()) {
                return;
            }
            if (currentEntity != null) {
                TestResultError error = new TestResultException(cause);
                fireConnectionResult(TestConnectionResult.error((Locatable) currentEntity, error));
            }
        } finally {
            doneWithCurrentEntity();
        }
View Full Code Here

        handleConnectionError(t);
        setDone();
    }
   
    private void handleConnectionError(Throwable t) {
        TestResultError error = new TestResultException(t);
        result = TestConnectionResult.error(testedLocatable, error);
        ServerCallback external = getExternalCallback();
        if (external != null) {
            external.caught(t);
        } else {
View Full Code Here

            persistError(t);
            ErrorLog.attention(TestTransformationHandler.class, Strings.get("TestTransformation.Error.Message"), t);
        }

        private void persistError(Throwable t) {
            TestResultError error = new TestResultException(t);
            TestTransformationResult result = TestTransformationResult.error(getTransformation(), error);
            history.add(result);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.test.TestResultException

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.