Examples of NodeDoesNotExistException


Examples of org.bladerunnerjs.model.exception.command.NodeDoesNotExistException

   
    App app = brjs.app(appName);
    Aspect aspect = app.aspect(aspectName);
   
    if(isRequirePrefix && isAlias) throw new CommandArgumentsException("The --prefix and --alias switches can't both be used at the same time", this);
    if(!app.dirExists()) throw new NodeDoesNotExistException(app, this);
    if(!aspect.dirExists()) throw new NodeDoesNotExistException(aspect, this);
   
    try {
      if(isRequirePrefix) {
        logger.println(DependencyGraphReportBuilder.createReportForRequirePrefix(aspect, requirePathOrAlias, showAllDependencies));
      }
View Full Code Here

Examples of org.goldenorb.client.NodeDoesNotExistException

  private void initializeLeaderGroupMonitor() throws OrbZKFailure, NodeDoesNotExistException {
    String leaderGroupPath = "/GoldenOrb/" + orbConf.getOrbClusterName() + "/OrbTrackerLeaderGroup";
    if (ZookeeperUtils.nodeExists(zk, leaderGroupPath)) {
      leaderGroupWatcher = new LeaderGroupMonitor(leaderGroupPath, this, zk);
    } else {
      throw new NodeDoesNotExistException(leaderGroupPath);
    }
  }
View Full Code Here

Examples of org.goldenorb.client.NodeDoesNotExistException

    String jobPath = "/GoldenOrb/" + orbConf.getOrbClusterName() + "/" + nodeName;
    if (ZookeeperUtils.nodeExists(zk, jobPath)) {
      if (nodeName.equalsIgnoreCase("JobQueue")) jobQueueWatcher = new JobsMonitor(jobPath, this, zk);
      else jobsInProgressWatcher = new JobsMonitor(jobPath, this, zk);
    } else {
      throw new NodeDoesNotExistException(jobPath);
    }
  }
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.