Hi list,

I've been looking at this fail method on DaemonController and it looks
like it is for giving a slightly friendlier error message back to the
console, rather than a stack trace.  I was hoping I could use this to
report error messages during initialisation, but it looks like that is
not the case.

I've noticed that the implementation in DaemonLoader doesn't allow it
before the daemon has started up, which seems odd to me as that seems
like the time you are most likely to want to fail with an error message.
Is this a bug, or is there some reason why it checks isAvailable before
it lets you call fail?


Cheers,
Nick




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to