Package org.jamesii.core.util.exceptions

Examples of org.jamesii.core.util.exceptions.OperationNotSupportedException


    // TODO this does not work, services are registered at the server and should
    // be solely
    // used/booked by the server, thus we have to postpone the resource
    // collection (if possible)

    throw new OperationNotSupportedException(
        "Database server usage not yet implemented");
  }
View Full Code Here


  public void removeCoupling(BasicCoupling coupling) {
    getVelements().remove(coupling);
  }

  private void fail() {
    throw new OperationNotSupportedException(
        "Removing couplings is not supported by the simple coupling set implementation!");
  }
View Full Code Here

  }

  @Override
  public void modifyModel(IBasicDEVSModel theModel) {

    throw new OperationNotSupportedException

    ("Port change request: Modification of models (here " + theModel
        + ") is no supported, yet.");
    /*
     * if (add) { model.REOTEaddPort (); } else { model.REMOTEremovePort (); }
View Full Code Here

    }
  }

  @Override
  public ISymbolicModel<?> read(URI ident) {
    throw new OperationNotSupportedException(
        "Does not support a symbolic model representation.");
  }
View Full Code Here

    this.ref = ref;
  }

  @Override
  public void changed() {
    throw new OperationNotSupportedException(
        "You should not be able to change a remote entity. You therefore should also avoid calling changed().");
  }
View Full Code Here

    ref = newRef;
  }

  @Override
  public void changed(Object hint) {
    throw new OperationNotSupportedException(
        "You should not be able to change a remote entity. You therefore should also avoid calling changed(hint).");
  }
View Full Code Here

   * @param observer
   *          the notifying observer
   */
  public void registerExperimentObserver(
      ComputationTaskRuntimeInformation crti, INotifyingObserver<?> observer) {
    throw new OperationNotSupportedException(
        "Not yet implemented (experiment observation manager)! " + crti
            + " -- " + observer);
  }
View Full Code Here

   * @throws RemoteException
   *           the remote exception
   */
  public ISimulationRun createSimulation(IModel model, double startTime,
      double endTime) throws RemoteException {
    throw new OperationNotSupportedException(
        "SimulationHost, no parameters are forwarded!!!! Config needed");
  }
View Full Code Here

   */
  @Override
  public void setComputationTask(IComputationTask simulation) {
    SimSystem.report(Level.SEVERE,
        "Remotely calling set computation task is not permitted.");
    throw new OperationNotSupportedException(
        "Remotely calling set computation task is not permitted.");
  }
View Full Code Here

TOP

Related Classes of org.jamesii.core.util.exceptions.OperationNotSupportedException

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.