Package org.destecs.core.simulationengine.exceptions

Examples of org.destecs.core.simulationengine.exceptions.ModelPathNotValidException


  public void setDeModel(ModelConfig model) throws ModelPathNotValidException
  {
    if (model == null)
    {
      throw new ModelPathNotValidException(Simulator.DE, "null");
    }
    if (!model.isValid())
    {
      throw new ModelPathNotValidException(Simulator.DE, model.toString());
    }
    this.deModelBase = model;
  }
View Full Code Here


  public void setCtModel(ModelConfig model) throws ModelPathNotValidException
  {
    if (model == null)
    {
      throw new ModelPathNotValidException(Simulator.CT, "null");
    }
    if (!model.isValid())
    {
      throw new ModelPathNotValidException(Simulator.CT, model.toString());
    }
    this.ctModel = model;
  }
View Full Code Here

  private void checkModel(Simulator simulator, ModelConfig model)
      throws ModelPathNotValidException
  {
    if (model == null)
    {
      throw new ModelPathNotValidException(simulator, "null");
    } else if (!ctModel.isValid())
    {
      throw new ModelPathNotValidException(simulator, "null");
    }
  }
View Full Code Here

TOP

Related Classes of org.destecs.core.simulationengine.exceptions.ModelPathNotValidException

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.