[jbpm-commits] JBoss JBPM SVN: r3252 - in projects/spec/trunk/modules: api/src/main/java/org/jboss/bpm/api/service and 6 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Sun Dec 7 08:16:59 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-12-07 08:16:58 -0500 (Sun, 07 Dec 2008)
New Revision: 3252

Added:
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessEngineException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/IdentityService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/TaskInstanceService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/TaskInstance.java
Removed:
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/BPMException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/IdentityService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/TaskService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/task/
Modified:
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/EngineShutdownException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/InvalidProcessException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/NodeNotFoundException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessNotFoundException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessTimeoutException.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractIdentityService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractTaskService.java
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/test/CTSTestCase.java
   projects/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/service/ThreadingServiceImpl.java
Log:
Move task management to incubator

Deleted: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/BPMException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/BPMException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/BPMException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -1,55 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.api;
-
-// $Id$
-
-/**
- * A RuntimeException that can be thrown for unrecoverable API errors
- * 
- * @author thomas.diesler at jboss.com
- * @since 18-Jun-2008
- */
- at SuppressWarnings("serial")
-public class BPMException extends RuntimeException
-{
-  public BPMException()
-  {
-    super();
-  }
-
-  public BPMException(String message, Throwable cause)
-  {
-    super(message, cause);
-  }
-
-  public BPMException(String message)
-  {
-    super(message);
-  }
-
-  public BPMException(Throwable cause)
-  {
-    super(cause);
-  }
-
-}

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/EngineShutdownException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/EngineShutdownException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/EngineShutdownException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -30,7 +30,7 @@
  * @since 18-Jun-2008
  */
 @SuppressWarnings("serial")
-public class EngineShutdownException extends BPMException
+public class EngineShutdownException extends ProcessEngineException
 {
 
   public EngineShutdownException()

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/InvalidProcessException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/InvalidProcessException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/InvalidProcessException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -31,7 +31,7 @@
  * @since 18-Jun-2008
  */
 @SuppressWarnings("serial")
-public class InvalidProcessException extends BPMException
+public class InvalidProcessException extends ProcessEngineException
 {
   public InvalidProcessException()
   {

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/NodeNotFoundException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/NodeNotFoundException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/NodeNotFoundException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -31,7 +31,7 @@
  * @since 18-Sep-2008
  */
 @SuppressWarnings("serial")
-public class NodeNotFoundException extends BPMException
+public class NodeNotFoundException extends ProcessEngineException
 {
   public NodeNotFoundException(String message)
   {

Copied: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessEngineException.java (from rev 3251, projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/BPMException.java)
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessEngineException.java	                        (rev 0)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessEngineException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.api;
+
+// $Id$
+
+/**
+ * A RuntimeException that can be thrown for unrecoverable API errors
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+ at SuppressWarnings("serial")
+public class ProcessEngineException extends RuntimeException
+{
+  public ProcessEngineException()
+  {
+    super();
+  }
+
+  public ProcessEngineException(String message, Throwable cause)
+  {
+    super(message, cause);
+  }
+
+  public ProcessEngineException(String message)
+  {
+    super(message);
+  }
+
+  public ProcessEngineException(Throwable cause)
+  {
+    super(cause);
+  }
+
+}

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessNotFoundException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessNotFoundException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessNotFoundException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -31,7 +31,7 @@
  * @since 18-Sep-2008
  */
 @SuppressWarnings("serial")
-public class ProcessNotFoundException extends BPMException
+public class ProcessNotFoundException extends ProcessEngineException
 {
   public ProcessNotFoundException(String message)
   {

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessTimeoutException.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessTimeoutException.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/ProcessTimeoutException.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -30,7 +30,7 @@
  * @since 24-Jul-2008
  */
 @SuppressWarnings("serial")
-public class ProcessTimeoutException extends BPMException
+public class ProcessTimeoutException extends ProcessEngineException
 {
   public ProcessTimeoutException()
   {

Deleted: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/IdentityService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/IdentityService.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/IdentityService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -1,57 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.api.service;
-
-// $Id$
-
-import java.util.List;
-
-/**
- * The IdentityService manages identities
- * 
- * @author thomas.diesler at jboss.com
- * @since 28-Nov-2008
- */
-public interface IdentityService
-{
-
-  /**
-   * Get a list of groups.
-   */
-  List<String> getGroups();
-
-  /**
-   * Get a list of groups a given actor belongs to.
-   */
-  List<String> getGroupsByActor(String actor);
-
-  /**
-   * Get a list of groups.
-   */
-  List<String> getActors();
-
-  /**
-   * Get a list of actors that belong to a given group.
-   */
-  List<String> getActorsByGroup(String group);
-
-}
\ No newline at end of file

Deleted: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/TaskService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/TaskService.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/TaskService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.api.service;
-
-//$Id$
-
-import java.util.List;
-
-import javax.management.ObjectName;
-
-import org.jboss.bpm.api.task.Task;
-
-/**
- * The TaskService manages Tasks.
- * 
- * @author thomas.diesler at jboss.com
- * @since 28-Nov-2008
- */
-public interface TaskService
-{
-  List<Task> getTasksByProcess(ObjectName procID);
-  
-  Task getTask(ObjectName taskID);
-
-  List<Task> getTasksByActor(String actor);
-
-  void reassignTask(ObjectName taskID, String actor);
-
-  void closeTask(ObjectName taskID, String signalName);
-
-}
\ No newline at end of file

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractIdentityService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractIdentityService.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractIdentityService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -23,7 +23,7 @@
 
 // $Id$
 
-import org.jboss.bpm.api.service.IdentityService;
+import org.jboss.bpm.incubator.service.IdentityService;
 
 /**
  * The IdentityService manages identities

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractTaskService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractTaskService.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/internal/AbstractTaskService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -21,7 +21,7 @@
  */
 package org.jboss.bpm.api.service.internal;
 
-import org.jboss.bpm.api.service.TaskService;
+import org.jboss.bpm.incubator.service.TaskInstanceService;
 
 // $Id$
 
@@ -31,7 +31,7 @@
  * @author thomas.diesler at jboss.com
  * @since 28-Nov-2008
  */
-public abstract class AbstractTaskService extends AbstractService implements TaskService
+public abstract class AbstractTaskService extends AbstractService implements TaskInstanceService
 {
   // Hide public constructor
   protected AbstractTaskService()

Modified: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/test/CTSTestCase.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/test/CTSTestCase.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/test/CTSTestCase.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -34,7 +34,7 @@
 
 import javax.management.ObjectName;
 
-import org.jboss.bpm.api.BPMException;
+import org.jboss.bpm.api.ProcessEngineException;
 import org.jboss.bpm.api.model.ProcessDefinition;
 import org.jboss.bpm.api.service.DialectHandler;
 import org.jboss.bpm.api.service.DialectHandlerService;
@@ -296,7 +296,7 @@
     }
     catch (IOException ex)
     {
-      throw new BPMException("Cannot marshall process", ex);
+      throw new ProcessEngineException("Cannot marshall process", ex);
     }
   }
 

Copied: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/IdentityService.java (from rev 3250, projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/IdentityService.java)
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/IdentityService.java	                        (rev 0)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/IdentityService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.incubator.service;
+
+// $Id$
+
+import java.util.List;
+
+/**
+ * The IdentityService manages identities
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 28-Nov-2008
+ */
+public interface IdentityService
+{
+
+  /**
+   * Get a list of groups.
+   */
+  List<String> getGroups();
+
+  /**
+   * Get a list of groups a given actor belongs to.
+   */
+  List<String> getGroupsByActor(String actor);
+
+  /**
+   * Get a list of groups.
+   */
+  List<String> getActors();
+
+  /**
+   * Get a list of actors that belong to a given group.
+   */
+  List<String> getActorsByGroup(String group);
+
+}
\ No newline at end of file

Added: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/TaskInstanceService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/TaskInstanceService.java	                        (rev 0)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/TaskInstanceService.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.incubator.service;
+
+//$Id$
+
+import java.util.List;
+
+import javax.management.ObjectName;
+
+import org.jboss.bpm.incubator.task.TaskInstance;
+
+/**
+ * The TaskService manages Tasks.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 28-Nov-2008
+ */
+public interface TaskInstanceService
+{
+  List<TaskInstance> getTasksByProcess(ObjectName procID);
+  
+  TaskInstance getTask(ObjectName taskID);
+
+  List<TaskInstance> getTasksByActor(String actor);
+
+  void reassignTask(ObjectName taskID, String actor);
+
+  void closeTask(ObjectName taskID, String signalName);
+
+}
\ No newline at end of file


Property changes on: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/service/TaskInstanceService.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/TaskInstance.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/TaskInstance.java	                        (rev 0)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/TaskInstance.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.incubator.task;
+
+import java.util.Set;
+
+import javax.management.ObjectName;
+
+public interface TaskInstance
+{
+  ObjectName getKey();
+  
+  ObjectName getCorrelationKey();
+  
+  String getName();
+  
+  String getActor();
+  
+  Set<String> getPooledActors();
+  
+  void end(String targetName);
+  
+  boolean isBlocking();
+  
+  boolean isSignalling();
+  
+  boolean isCancelled();
+  
+  boolean hasEnded();
+}
+


Property changes on: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/incubator/task/TaskInstance.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: projects/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/service/ThreadingServiceImpl.java
===================================================================
--- projects/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/service/ThreadingServiceImpl.java	2008-12-07 08:08:52 UTC (rev 3251)
+++ projects/spec/trunk/modules/ri/src/main/java/org/jboss/bpm/ri/service/ThreadingServiceImpl.java	2008-12-07 13:16:58 UTC (rev 3252)
@@ -28,7 +28,7 @@
 
 import javax.management.ObjectName;
 
-import org.jboss.bpm.api.BPMException;
+import org.jboss.bpm.api.ProcessEngineException;
 import org.jboss.bpm.api.ProcessTimeoutException;
 import org.jboss.bpm.api.model.Expression;
 import org.jboss.bpm.api.model.ProcessInstance;
@@ -189,7 +189,7 @@
           {
             if (procImpl.getRuntimeException() != null)
             {
-              throw new BPMException("Process aborted", procImpl.getRuntimeException());
+              throw new ProcessEngineException("Process aborted", procImpl.getRuntimeException());
             }
             else
             {




More information about the jbpm-commits mailing list