[
http://jira.codehaus.org/browse/JBEHAVE-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elizabeth Keogh closed JBEHAVE-81.
----------------------------------
Resolution: Fixed
Scenario steps throw Exception in their main perform-method.
They do _not_ throw Exception in their cleanUp. This is because cleanUp happens
in a finally {} clause, and you have to decide what you want to do with any
exception you throw.
> Scenario steps should throw Exception in their signature.
> ---------------------------------------------------------
>
> Key: JBEHAVE-81
> URL: http://jira.codehaus.org/browse/JBEHAVE-81
> Project: JBehave
> Issue Type: Improvement
> Affects Versions: 1.0
> Reporter: Elizabeth Keogh
> Fix For: 1.1
>
>
> For the same reason that should... methods should be able to throw an
> exception, so should ScenarioSteps. This prevents me having to wrap code that
> shouldn't be throwing exceptions anyway.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email