Package org.structr.common.error

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

Related Classes of org.structr.common.error.DuplicateRelationshipToken

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.