org.ow2.bonita.facade.exception
Class AmbiguousActivityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.bonita.util.BonitaException
              extended by org.ow2.bonita.facade.exception.AmbiguousActivityException
All Implemented Interfaces:
java.io.Serializable

public class AmbiguousActivityException
extends BonitaException

Exception thrown when the parameters given to a method does not identify clearly an ActivityInstance (more than one ActivityInstance match with the given parameters). This is the case when an xpdl activity is executed more than once (for example in a loop). Using an ActivityUUID or adding an iterationId to the method can solve this problem.

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Constructor Summary
AmbiguousActivityException(AmbiguousActivityException e)
           
AmbiguousActivityException(ProcessInstanceUUID instanceUUID, java.lang.String activityId)
           
 
Method Summary
static AmbiguousActivityException build(java.lang.Throwable e)
           
 java.lang.String getActivityId()
           
 ProcessInstanceUUID getInstanceUUID()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmbiguousActivityException

public AmbiguousActivityException(ProcessInstanceUUID instanceUUID,
                                  java.lang.String activityId)

AmbiguousActivityException

public AmbiguousActivityException(AmbiguousActivityException e)
Method Detail

build

public static AmbiguousActivityException build(java.lang.Throwable e)

getActivityId

public java.lang.String getActivityId()

getInstanceUUID

public ProcessInstanceUUID getInstanceUUID()


Copyright © 2008 OW2 Consortium. All Rights Reserved.