would it be useful to have a StepPending exception?
If that is a runtime exception it could be used to mark a step as currently pending, e.g. when some data is not found.



On 10.08.2012 15:29, Mauro Talevi wrote:
In your case, you could also do a check in the implementation of the
step for the value of the parameter and throw an exception when the
value entered corresponds to elements not yet available.

But, instead of a pending step, you'd have a failed one (because of the
lack of elements).   The advantage is that the definition of the step is
defined and remains the same, without needing to change in the textual
stories.




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to