Examples of NotEnabledException


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

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

      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

Examples of org.eclipse.core.commands.NotEnabledException

          System.out.println((System.currentTimeMillis() - ms)
              + " ms to run action: " + action.getText()); //$NON-NLS-1$
        }
      } else {
        if (callback != null) {
          callback.notEnabled(action, new NotEnabledException(action
              .getText()
              + " is not enabled.")); //$NON-NLS-1$
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.