Examples of DuplicateRelationshipToken


Examples of org.structr.common.error.DuplicateRelationshipToken

      // check existing relationships
      for (final RelationshipInterface rel : outgoingRels) {

        if (rel.getTargetNode().equals(targetNode)) {

          throw new FrameworkException(getClass().getSimpleName(), new DuplicateRelationshipToken("This relationship already exists"));
        }
      }
    }
  }
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.