Package org.huihoo.workflow

Examples of org.huihoo.workflow.WorkflowException


      serviceContext.setMaxInactiveInterval(sessionID, interval);
    }
    catch (RemoteException ex)
    {
      ex.printStackTrace();
      throw new WorkflowException(ex);
    }
  }
View Full Code Here


      serviceContext.keepAlive(sessionID);
    }
    catch (RemoteException ex)
    {
      ex.printStackTrace();
      throw new WorkflowException(ex);
    }
  }
View Full Code Here

        }
      }
    }
    catch (Exception ex)
    {
      throw new WorkflowException(ex);
    }
    return null;
  }
View Full Code Here

        services = serviceContext.findServices(sessionID);
      }
    }
    catch (Exception ex)
    {
      throw new WorkflowException(ex);
    }
    return services;
  }
View Full Code Here

    {
      serviceContext.disconnect(sessionID);
    }
    catch (RemoteException ex)
    {
      throw new WorkflowException(ex);
    }
  }
View Full Code Here

      }
      catch (Throwable ex)
      {
        log.warn("Failed to get service context " + host + ":" + port, ex);
        serviceContext = null;
        throw new WorkflowException(ex);
      }
    }
  }
View Full Code Here

      socket.close();
      return server;
    }
    catch (Exception ex)
    {
      throw new WorkflowException(ex);
    }
  }
View Full Code Here

            {
              updateContext(workflowProcess, operator, caseDatabase, userTransaction, context, caseContext, false);
            }
            catch (Throwable ex)
            {
              throw new WorkflowException(ex);
            }
            outTrans.add(transition);
            break;
          }
          else
          {
            log.debug("[filterOutTransition_xorSplit] REJECT transition:" + transition.getInfo() + " | condition: " + conditon);
          }
        }

      } //~end for (int i = 0; i < sizeTrans; ++i)

      try
      {
        updateContext(workflowProcess, operator, caseDatabase, userTransaction, context, caseContext, true);
      }
      catch (Throwable ex)
      {
        throw new WorkflowException(ex);
      }
    }
    return outTrans;
  }
View Full Code Here

            {
              updateContext(workflowProcess, operator, caseDatabase, userTransaction, context, caseContext, false);
            }
            catch (Throwable ex)
            {
              throw new WorkflowException(ex);
            }
           
            outTrans.add(transition);
          }
          else
          {
            log.debug("[filterOutTransition_orSplit] REJECT transition:" + transition.getInfo() + " | condition: " + conditon);
            rejectTrans.add(transition);

          } //~end if (interpretor.evalute(workflowWork, transition, context))

        } //~end if (conditon == null)

      } //~end for (int i = 0; i < sizeTrans; ++i)
      updateContext(workflowProcess, operator, caseDatabase, userTransaction, context, caseContext, true);

      try
      {
        JoinActivityFinder.signalOrJoinActivity(userTransaction, workflowWork, outTrans, rejectTrans);
      }
      catch (SQLException e)
      {
        throw new WorkflowException(e);
      }
    }
    return outTrans;
  }
View Full Code Here

          name,
          description);
    }
    catch (SQLException sqlex)
    {
      throw new WorkflowException(sqlex);
    }
   
    return caseId;
  }
View Full Code Here

TOP

Related Classes of org.huihoo.workflow.WorkflowException

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.