Package org.tuba.exceptions

Examples of org.tuba.exceptions.IntegrationException


          .search(lastRepresentationType);
      if (additionalChain == null) {
        // TODO externalize
        String message = "no cain containing a list of operations and one integrator could be found"; //$NON-NLS-1$
        showError(message);
        throw new IntegrationException();
      }
      reference.getOperations().addAll(additionalChain.getLeft());
      reference.setIntegrator(additionalChain.getRight());
    } else {
      String id = integrator.getId();
      List<XMLArtefactOperation> additionalOperations = searcher.search(
          lastRepresentationType, PluginManager.getInstance()
              .getIntegrator(id).getSupportedType());
      if (additionalOperations == null) {
        // TODO externalize
        String message = "no list of operations could not be found to match the integrator"; //$NON-NLS-1$
        showError(message);
        throw new IntegrationException();
      }
      reference.getOperations().addAll(additionalOperations);
    }
  }
View Full Code Here


          .getArtefactOperation(operation.getId());
      if (operationMetaData == null) {
        // TODO externalize
        String message = "don't know operation: " + operation.getId(); //$NON-NLS-1$
        showError(message);
        throw new IntegrationException();
      }
      if (!beginType.equals(operationMetaData.getSourceType())) {
        // TODO externalize
        String message = "operation chain contains errors"; //$NON-NLS-1$
        showError(message);
        throw new IntegrationException();
      }
      beginType = operationMetaData.getTargetType();
    }
  }
View Full Code Here

TOP

Related Classes of org.tuba.exceptions.IntegrationException

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.