And using system exit in a stop class gives you an error, can't recall which one (109?). On my phone ATM, can't check.
Gary On Nov 15, 2011, at 6:51, sebb <seb...@gmail.com> wrote: > On 15 November 2011 06:25, Mladen Truk <mt...@apache.org> wrote: >> On 11/14/2011 08:34 PM, sebb wrote: >>> >>> On 14 November 2011 18:31, sebb<seb...@gmail.com> wrote: >>>>> >>>>> The default --StartClass is now "Main", and --StopClass defaults to >>>>> "java/lang/System" - in which case the default --StopMethod is "exit" >>>>> - is that correct? >>>>> >>>>> If so, I can update the docs accordingly. >>> >> >> Updated docs. >> However I'm still not sure about using System.exit in general. >> This should be used as "last resort" option. > > In which case, why not insist that the StopClass is provided, rather > than defaulting it? > > Or, default to "Main" as is done for StartClass? > > If anyone wants to use System.exit() they can do so explicitly. > >> Regards >> -- >> ^TM >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org