Package org.jamesii.core.experiments

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


      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

Related Classes of org.jamesii.core.experiments.ExperimentException

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.