On 12/14/08 19:52, Frank Schönheit - Sun Microsystems Germany wrote:
In general, I agree to Jörg here - the pattern sounds strange.
On second thought I too agree with Jörg's evaluation.
If you really cannot decide in your implementation whether or not the occurred exceptions are errors or not, then a callback might be another option: Give the method call a XFoo parameter, which is called upon each error, and can decide how to handle it (bail out, ignore and continue, roll back everything and return - whatever you need).
That's the good old com.sun.star.task.XInteractionHandler stuff (where the idea was borrowed from Common Lisp).
-Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
