At 11:55 9/5/01 +0200, Stefan Bodewig wrote: >Stefan Bodewig <[EMAIL PROTECTED]> wrote: > >> Peter Donald <[EMAIL PROTECTED]> wrote: >> >>> The task interface would be the minimalist interface and would >>> likely only have one "work" method - namely execute() - > >I realized that you didn't specify the return type of execute, void or >boolean or even something else? > >boolean would assist a failOnError-aspect, but on the other side I >feel that tasks should be self-contained and raise exceptions if they >fail. I favor void.
+1 for voidand raise exception on error ;) Cheers, Pete *-----------------------------------------------------* | "Faced with the choice between changing one's mind, | | and proving that there is no need to do so - almost | | everyone gets busy on the proof." | | - John Kenneth Galbraith | *-----------------------------------------------------*
