Changes to web flow action proposal

Cantor, Scott cantor.2 at osu.edu
Fri Apr 19 10:32:44 EDT 2013


On 4/19/13 10:26 AM, "Daniel Fisher" <dfisher at vt.edu> wrote:

>You'll have to choose which exception you want to propagate out if both
>doExecute and doPostExecute throw:

Yes, I did that by favoring the doExecute throw. If that throws, my
pseudocode always traps a RuntimeException from doPost. If not, it falls
into the last call to doPost which is outside a catch and will throw. I
prefer that idiom to finally{} clauses and saving off execptions.

I'm writing a unit test for that now just so that we have a place to unit
test any semantics we bake into the abstraction.

-- Scott




More information about the dev mailing list