Package org.apache.juddi.error

Examples of org.apache.juddi.error.InvalidProjectionException


        throw new InvalidKeyPassedException(new ErrorMessage("errors.invalidkey.ProjectedServiceNotFound", parentKey + ", " + entityKey));
      else {
        // If the supplied business key doesn't match the existing service's business key, the projection is invalid.
        org.apache.juddi.model.BusinessService bs = (org.apache.juddi.model.BusinessService)obj;
        if (!businessService.getBusinessKey().equalsIgnoreCase(bs.getBusinessEntity().getEntityKey()))
          throw new InvalidProjectionException(new ErrorMessage("errors.invalidprojection.ParentMismatch", businessService.getBusinessKey() + ", " + bs.getBusinessEntity().getEntityKey()));
      }
      obj = null;
    }
    else {
      boolean entityExists = false;
View Full Code Here

TOP

Related Classes of org.apache.juddi.error.InvalidProjectionException

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.