Package de.danet.an.workflow.api

Examples of de.danet.an.workflow.api.InvalidIdException


        participant = ((ProcessLocal)containerLocal())
                        .processDefinition().participantById(performer());
    } catch (InvalidIdException e) {
        String pid = (String)processContext().get (performer());
        if (pid == null) {
      throw new InvalidIdException
          ("Referenced data field \"" + performer() + "\""
           + " does not contain valid participant id.");
        }
        participant = ((ProcessLocal)containerLocal())
                        .processDefinition().participantById(pid);
View Full Code Here


     * @return the dedicated application.
     */
    public Application applicationById (String id) throws InvalidIdException {
  Application a = (Application)applications.get (id);
  if (a == null) {
      throw new InvalidIdException ("No application with Id = " + id);
  }
  return a;
    }
View Full Code Here

     * @throws InvalidIdException if no participant with the given id exists.
     */   
    public Participant participantById(String id) throws InvalidIdException {
  Participant p = (Participant)participants.get (id);
  if (p == null) {
      throw new InvalidIdException ("No participant with Id = " + id);
  }
  return p;
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.api.InvalidIdException

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.