Re: Catching errors

Norman Walsh wrote:
> |> I don't know. Someone's going to suggest p:finally if we do this.
> |> (Actually, it's already been suggested to me, but...)
> |
> | I'm not sure if p:finally would be useful outside corner cases, but I'd give it
> | a chance. Maybe an example would clarify this.
> I can't think of one, but I'm not sure I've ever used "finally" in a
> Java program either. Given that steps are self-contained, I really
> don't think we need a finally. Though, I suppose someone will raise
> the case of an extension step that opens a database and needs a
> finally to close it.

I guess it would imply having something like px:open-database and 
px:close-database extension steps. As steps are atomic, that should be 
handled internally by the component. So I'm with you on this, it looks 
definitely like a corner case.


Received on Tuesday, 10 July 2007 14:19:21 UTC