Frank Schönheit wrote:

> So the real problem here is that an exception was used to indicate a
> perfectly valid situation: My script wants to close, somebody else takes
> ownership, and *indicates this with a veto exception* - the latter is
> the design flaw here.

Exactly.

> Note however that this doesn't mean that VetoExceptions are a design
> flaw *in general*. As described for my other scenario: If the veto
> really indicates a failure of what I wanted to do ("insert an element
> into a container"), then it's IMO appropriate to throw this veto as
> exception.

Agreed. Didn't I do that already?

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to