org.ow2.bonita.facade.exception
Class AmbiguousActivityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ow2.bonita.util.BonitaException
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
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 |
AmbiguousActivityException
public AmbiguousActivityException(ProcessInstanceUUID instanceUUID,
java.lang.String activityId)
AmbiguousActivityException
public AmbiguousActivityException(AmbiguousActivityException e)
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.