An exception throw by the Workflow Engine.
313314315316317318319320321322323
try { engine.startWorkflow(w, m); } catch (Exception e) { e.printStackTrace(); throw new EngineException( "Engine exception when starting workflow: " + w.getName() + ": Message: " + e.getMessage()); } }
413414415416417418419420421422423
.getXmlRpcWorkflowInstance(wInst); workflowInstances.add(workflowInstance); } } catch (Exception e) { e.printStackTrace(); throw new EngineException( "Exception getting workflow instances by statusfrom workflow engine: Message: " + e.getMessage()); } }
459460461462463464465466467468469
workflowInstances.add(workflowInstance); } return workflowInstances; } catch (Exception e) { e.printStackTrace(); throw new EngineException( "Exception getting workflow instances from workflow engine: Message: " + e.getMessage()); } } else return null;
530531532533534535536537538
// persist by update instRep.updateWorkflowInstance(wInst); } } catch (InstanceRepositoryException e) { e.printStackTrace(); throw new EngineException(e.getMessage()); } }
210211212213214215216217218219220
persistWorkflowInstance(wInst); try { pool.execute(worker); } catch (InterruptedException e) { throw new EngineException(e); } return wInst; }
438439440441442443444445446
303304305306307308309310311312313
409410411412413414415416417418419
463464465466467468469470471472473
250251252253254255256257
// persist by update repo.updateWorkflowInstance(inst); } } catch (InstanceRepositoryException e) { e.printStackTrace(); throw new EngineException(e.getMessage()); } }