Hi Chris,
just my 2 cents: wouldn't be better/cleaner to just populate the errors
map (not sure about the details here) so that the errors can be checked
using the <check-errors/> operation?
Something like this:
<call-object-method ...>
...
</call-object-method>
<check-errors/>
Jacopo
Chris Howe wrote:
I'm interested in adding support for exception
handling for the call-object-method and
call-class-method operations in minilang. Let me know
if this approach sounds feasible.
and a child node of <exception/> to call-*-method.
create an ExceptionObject class that will parse the
element
in the parameterIter while clause in
CallObjectMethod.callObjectMethod and
CallClassMethod.callClassMethod have it evaluate for
"exception" while it's evaluating for "field" and
"string" and add it to an additional list for
exceptions to be added to CallObjectMethod.callMethod
create an exception iterator and loop through each
Does this sound doable before I try to do it?