Examples of ExperimentException


Examples of org.jamesii.core.experiments.ExperimentException

      IInitializedComputationTask initCompTask) {
    String s = initCompTask.getRunInfo().getErrorMsg();
    if (s != null) {
      runner.onErrorHook(s);
      if (runner.isCancelOnError()) {
        throw new ExperimentException(
            "An error occured. The experiment is cancelled:" + s, initCompTask
                .getRunInfo().getErrorCause());
      }
    }
    return s != null;
View Full Code Here

Examples of org.jamesii.core.experiments.ExperimentException

      String msg = e.getMessage();
      SimSystem.report(Level.WARNING, "Exception on server:" + e.getMessage(),
          e);
      taskRunner.onErrorHook(msg);
      if (taskRunner.isCancelOnError()) {
        throw new ExperimentException(
            "An error occured. The experiment is cancelled! " + msg, e);
      }
      // cancel this particular run
      return new InitializedComputationTask(null, new RunInformation(runConfig));
    }
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.