Examples of InstanceManagementException


Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            });
        } catch (Exception e) {
            String errMsg = "Error querying instances from database. Filter: " +
                    instanceFilter.toString();
            log.error(errMsg, e);
            throw new InstanceManagementException(errMsg, e);
        }

        return instanceCountList.get(0);
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            });
        } catch (Exception e) {
            String errMsg = "Error querying instances from database. Instance Filter:" +
                    instanceFilter.toString();
            log.error(errMsg, e);
            throw new InstanceManagementException(errMsg, e);
        }

        return instanceList;
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            });
        } catch (Exception e) {
            String errMsg = "Error querying instances from database. Instance Filter:" +
                    instanceFilter.toString();
            log.error(errMsg, e);
            throw new InstanceManagementException(errMsg, e);
        }

        return (LimitedInstanceInfoType[]) longRunningInstances.toArray();
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

        try {
            isOperationIsValidForTheCurrentTenant(iid);
        } catch (IllegalAccessException ex) {
            String errMsg = "You are trying to carry out unauthorized operation!";
            log.error(errMsg);
            throw new InstanceManagementException(errMsg, ex);
        }
        return getInstanceInformation(iid);
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

        try {
            isOperationIsValidForTheCurrentTenant(iid);
        } catch (IllegalAccessException ex) {
            String errMsg = "You are trying to carry out unauthorized operation!";
            log.error(errMsg);
            throw new InstanceManagementException(errMsg, ex);
        }
        return getInstanceInformationWithEvents(iid);
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

        try {
            isOperationIsValidForTheCurrentTenant(iid);
        } catch (IllegalAccessException ex) {
            String errMsg = "You are trying to carry out unauthorized operation!";
            log.error(errMsg);
            throw new InstanceManagementException(errMsg, ex);
        }
        return getActivityLifeCycleEvents(iid);
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            });
        } catch (Exception e) {
            String errMsg = "Exception occurred while recovering the activity: " + aid +
                    " of ths instance: " + iid + " action: " + action.getValue();
            log.error(errMsg, e);
            throw new InstanceManagementException(errMsg, e);
        }
    }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            public Object run(BpelDAOConnection conn) throws InstanceManagementException {
                ProcessInstanceDAO instance = conn.getInstance(iid);

                if (instance == null) {
                    log.error("Instance " + iid + " not found.");
                    throw new InstanceManagementException("Instance " + iid + " not found.");
                }

                fillActivityLifeCycleEvents(activityLifeCycleEvents, instance);
                return null;
            }
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

            public Object run(BpelDAOConnection conn) throws InstanceManagementException {
                ScopeDAO scope = conn.getScope(siid);
                if (scope == null) {
                    String errMsg = "Scope " + siid + " not found.";
                    log.error(errMsg);
                    throw new InstanceManagementException(errMsg);
                }
                fillActivityLifeCycleEventsFromScope(activityLifeCycleEventsList, scope);
                return null;
            }
        });
View Full Code Here

Examples of org.wso2.carbon.bpel.skeleton.ode.integration.mgt.services.InstanceManagementException

        try {
            isOperationIsValidForTheCurrentTenant(iid);
        } catch (IllegalAccessException ex) {
            String errMsg = "You are trying to carry out unauthorized operation!";
            log.error(errMsg);
            throw new InstanceManagementException(errMsg, ex);
        }
        /*
        We need debugger support in order to resume (since we have to force
        a reduction. If one is not available the getDebugger() method should
        throw a ProcessingException
        */
        DebuggerSupport debugSupport = getDebugger(iid);
        if (debugSupport == null) {
            log.error("Cannot resume the instance " + iid + ", Debugger support not available");
            throw new InstanceManagementException("Cannot resume the instance " + iid +
                    ", Debugger " + "support not available");
        }
        debugSupport.resume(iid);
    }
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.