Package com.founder.fix.fixflow.core.exception

Examples of com.founder.fix.fixflow.core.exception.FixFlowException


      processInstanceManager.saveProcessInstance(subProcessInstance);

    } catch (Exception e) {

      throw new FixFlowException("子流程 " + this.getName() + " 启动异常!", e);

    }

    createSubTask(executionContext, subProcessInstance.getId());
View Full Code Here


      if (taskCommandInst != null && taskCommandInst.getExpression() != null) {
        try {
         
          ExpressionMgmt.execute(taskCommandInst.getExpression(), executionContext);
        } catch (Exception e) {
          throw new FixFlowException("用户命令表达式执行异常!", e);
        }
      }
     
     
      TaskInstanceEntity taskInstanceImpl=(TaskInstanceEntity)executionContext.getTaskInstance();
View Full Code Here

      if (taskCommandInst != null && taskCommandInst.getExpression() != null) {
        try {
         
          ExpressionMgmt.execute(taskCommandInst.getExpression(), executionContext);
        } catch (Exception e) {
          throw new FixFlowException("用户命令表达式执行异常!", e);
        }
      }
     
     
      List<TaskInstanceEntity> taskInstances= token.getProcessInstance().getTaskMgmtInstance().getTaskInstanceEntitys(token);
View Full Code Here

   * @param id
   * @return
   */
  public TaskInstanceEntity findTaskById(String id) {
    if (id == null) {
      throw new FixFlowException("任务编号不能为空!");
    }
    return (TaskInstanceEntity)getMappingSqlSession().selectOne("selectTaskByTaskId", id);
  }
View Full Code Here

       
        TaskMgmtInstance taskMgmtInstance =(TaskMgmtInstance) ReflectUtil.instantiate(expandClass.getClassImpl());
        return taskMgmtInstance;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的TaskMgmtInstance实现类指定错误");
   
  }
View Full Code Here

        Object[] objTemp = new Object[] {connection}
        TaskInstancePersistence taskInstancePersistence =(TaskInstancePersistence) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
        return taskInstancePersistence;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的TaskInstancePersistence实现类指定错误");
   
  }
View Full Code Here

      }else{
        scheduler.standby();
        scheduler.start();
      }
    } catch (SchedulerException e) {
      throw new FixFlowException(e.getMessage(),e);
    }
  }
View Full Code Here

        Object[] objTemp = new Object[] {connection}
        ProcessInstancePersistence processInstancePersistence =(ProcessInstancePersistence) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
        return processInstancePersistence;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的ProcessInstancePersistence实现类指定错误");
  }
View Full Code Here

      scheduler = getScheduler();
      if(scheduler.isInStandbyMode()){
        scheduler.start();
      }
    } catch (SchedulerException e) {
      throw new FixFlowException(e.getMessage(),e);
    }
  }
View Full Code Here

        Object[] objTemp = new Object[] {connection}
        IdentityLinkPersistence identityLinkPersistence =(IdentityLinkPersistence) ReflectUtil.instantiate(expandClass.getClassImpl(),objTemp);
        return identityLinkPersistence;
      }
    }
    throw new FixFlowException("流程引擎扩展配置里的IdentityLinkPersistence实现类指定错误");
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.exception.FixFlowException

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.