Package de.danet.an.workflow.omgcore

Examples of de.danet.an.workflow.omgcore.NotEnabledException


  ProcessDefinitionDirectory pdd = null;
  try {
      pdd = pddHome.create()
      return pdd.createProcess(packageId, processId, requester);
  } catch (InvalidKeyException ce) {
      throw new NotEnabledException(ce.getMessage());
  } catch (CreateException ce) {
      logger.error (ce.getMessage(), ce);
      throw new RemoteException(ce.getMessage());
  } finally {
      EJBUtil.removeSession (pdd);
View Full Code Here


      ProcessDefinitionInfo pdi
    = ((ProcessDefinitionDirectoryLocal)ctx.getEJBLocalObject())
    .lookupProcessDefinitionInfo (packageId, processId);
      if (!pdi.enabled) {
    ctx.setRollbackOnly();
                throw new NotEnabledException("Process definition disabled.");
      }
      return processLocalHome().create
          (pdi.archivedXpdlId, pdi.processDefinition, requester);
  } catch (CreateException ce) {
      throw new EJBException(ce);
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.omgcore.NotEnabledException

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.