According to marc fleury:

> At the same time I would see for a nice service where you provide a set of
> services that are needed for a particular configuration.  You would be
> notified immediately through a boolean return that all the services you
> requested are already on line.

Based on experience, I'd suggest that a better way would be to return
nothing in case of success, and throw something like
ServiceNotAvailableException in case of failure. This simplifies handling -
you eventually get bored of checking the booleans, and the code without
such checking is cleaner.

> marc

--vt

Reply via email to