Examples of ProcessNotFoundException


Examples of net.ex337.scriptus.exceptions.ProcessNotFoundException

                                .getSingleResult());
                throw pe;
            }

            if (d == null) {
                throw new ProcessNotFoundException(pid.toString());
            }

            ScriptProcess result = createScriptProcess();

            result.setPid(UUID.fromString(d.pid));
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

    public ProcessInfoDocument setRetired(final QName pid, final boolean retired) throws ManagementException {
        try {
            _store.setState(pid, retired ? ProcessState.RETIRED : ProcessState.ACTIVE);
        } catch (BpelEngineException e) {
            __log.error("Exception while setting process as retired", e);
            throw new ProcessNotFoundException("ProcessNotFound:" + pid);
        }
        return genProcessInfoDocument(pid, ProcessInfoCustomizer.NONE);
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

            throws ManagementException {
        try {
            _store.setRetiredPackage(packageName, retired);
        } catch (BpelEngineException e) {
            __log.error("Exception while setting process as retired", e);
            throw new ProcessNotFoundException("PackageNotFound:" + packageName);
        }
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

            // We have to do this after we set the property, since the
            // ProcessConf object
            // is immutable.
            ProcessConf proc = _store.getProcessConfiguration(pid);
            if (proc == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + pid);

            fillProcessInfo(pi, proc, new ProcessInfoCustomizer(ProcessInfoCustomizer.Item.PROPERTIES));

        } catch (ManagementException me) {
            throw me;
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

            // We have to do this after we set the property, since the
            // ProcessConf object
            // is immutable.
            ProcessConf proc = _store.getProcessConfiguration(pid);
            if (proc == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + pid);

            fillProcessInfo(pi, proc, new ProcessInfoCustomizer(ProcessInfoCustomizer.Item.PROPERTIES));

        } catch (ManagementException me) {
            throw me;
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

    public ActivityExtInfoListDocument getExtensibilityElements(QName pid, Integer[] aids) {
        ActivityExtInfoListDocument aeild = ActivityExtInfoListDocument.Factory.newInstance();
        TActivitytExtInfoList taeil = aeild.addNewActivityExtInfoList();
        OProcess oprocess = _server._engine.getOProcess(pid);
        if (oprocess == null)
            throw new ProcessNotFoundException("The process \"" + pid + "\" does not exist.");

        for (int aid : aids) {
            OBase obase = oprocess.getChild(aid);
            if (obase != null && obase.debugInfo != null && obase.debugInfo.extensibilityElements != null) {
                for (Map.Entry<QName, Object> entry : obase.debugInfo.extensibilityElements.entrySet()) {
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

     */
    protected final DebuggerSupport getDebugger(QName procid) throws ManagementException {

        BpelProcess process = _server._engine._activeProcesses.get(procid);
        if (process == null)
            throw new ProcessNotFoundException("The process \"" + procid + "\" does not exist.");

        return process._debugger;
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

        ProcessInfoDocument ret = ProcessInfoDocument.Factory.newInstance();
        final TProcessInfo pi = ret.addNewProcessInfo();
        try {
            ProcessConf pconf = _store.getProcessConfiguration(procid);
            if (pconf == null)
                throw new ProcessNotFoundException("ProcessNotFound:" + procid);
            fillProcessInfo(pi, pconf, custom);
        } catch (ManagementException me) {
            throw me;
        } catch (Exception e) {
            __log.error("Exception while retrieving process information", e);
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

    public ProcessInfoDocument setRetired(final QName pid, final boolean retired) throws ManagementException {
        try {
            _store.setState(pid, retired ? ProcessState.RETIRED : ProcessState.ACTIVE);
        } catch (BpelEngineException e) {
            __log.error("Exception while setting process as retired", e);
            throw new ProcessNotFoundException("ProcessNotFound:" + pid);
        }
        return genProcessInfoDocument(pid, ProcessInfoCustomizer.NONE);
    }
View Full Code Here

Examples of org.apache.ode.bpel.pmapi.ProcessNotFoundException

            throws ManagementException {
        try {
            _store.setRetiredPackage(packageName, retired);
        } catch (BpelEngineException e) {
            __log.error("Exception while setting process as retired", e);
            throw new ProcessNotFoundException("PackageNotFound:" + packageName);
        }
    }
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.