Package model.devscore.ports

Examples of model.devscore.ports.InvalidPortException


   */
  public IPort getModelInPort(String model, String port) {

    IPort iport = getModel(model).getInPort(port);
    if (iport == null) {
      throw new InvalidPortException("A port with the given name " + port
          + " does not exist in " + model + "!");
    }
    return iport;

  }
View Full Code Here


   */
  public IPort getModelOutPort(String model, String port) {

    IPort iport = getModel(model).getOutPort(port);
    if (iport == null) {
      throw new InvalidPortException("A port with the given name " + port
          + " does not exist in " + model + "!");
    }
    return iport;

  }
View Full Code Here

TOP

Related Classes of model.devscore.ports.InvalidPortException

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.