Package org.uengine.kernel

Examples of org.uengine.kernel.UEngineException


                }
                pdr = pm.getProcessDefinitionRemote(getProcessVersionId());
            }
        } catch (Exception e) {
            e.printStackTrace();
            throw new UEngineException("ProcessFlow Error", e);
        } finally {
           
        }
       
        return pdr;
View Full Code Here


 
  public void executeActivity(ProcessInstance instance) throws Exception{
    final String actualContent = evaluateContent(instance, getContents()).toString();

    if (getToRole() == null) {
      throw new UEngineException("Receiver is not set.");
    }
     
    RoleMapping roleMapping = getToRole().getMapping(instance, getTracingTag());
   
    if (roleMapping == null) {
      throw new UEngineException("Actual target receiver is not set yet.");
    }

     String nateOnId = roleMapping.getExtendedProperty(EXT_PROP_KEY_NateOnMessengerId);
   
    if (nateOnId == null) {
View Full Code Here

    };
    HashMap activityByBand = new HashMap();
    try{
      ArrayList clsNames = getActivityTypeList();
     
      if(clsNames==null || clsNames.size()==0) throw new UEngineException("No activitytypes.xml found by the ClassLoader. Please check the classpath.");
     
      for(Iterator iter = clsNames.iterator(); iter.hasNext();){
        Object actDesc = iter.next();

        if(actDesc==null) continue;
View Full Code Here

          /*RevisionInfo revInfo = new RevisionInfo();
          revInfo.setAuthorId(authorInfo);
          revInfo.setChangeTime(Calendar.getInstance());
          pd.setRevisionInfo(revInfo);*/
        } catch (Exception e) {
        (new UEngineException("Fail to retrieve author information: " + e.getMessage(), e)).printStackTrace();
        }
       
        pd.setFolderId(folderId);
        pd.setDefinitionId(definitionId);
        pd.setDefinitionVersionId(defVerId);
View Full Code Here

      setLocale(LOCALE);
      setCompanyId(GLOBALCOM);
     
      setUserPortrait(GlobalContext.WEB_CONTEXT_ROOT+"/images/portrait/"+getEndpoint()+".gif");
    }else
       new UEngineException("There's no such user ["+ getEndpoint() + "]");
   
  }
View Full Code Here

TOP

Related Classes of org.uengine.kernel.UEngineException

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.