Peter Donald wrote:
[snip]
> >interface Startable { // better name, anyone?
> > void start() throws StartException;
> > void stop() throws StopException; // new
> >}
>
> -1 Some things are startable without being stoppable and vice versa.
startable but not stoppable == dangerous, -1
stoppable but not startable == autonomous and manageable, 0
We could define this as:
interface Stoppable
{
void stop() throws StopException;
}
interface Startable : Stoppable
{
void start() throws StartException;
}
Cheers, Steve.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: [vote] lifecycle exceptions Giacomo Pati
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Peter Donald
- Re: [vote] lifecycle exceptions Charles Benett
- Re: [vote] lifecycle exceptions Berin Loritsch
- Re: [vote] lifecycle exceptions Peter Donald
- RE: [vote] lifecycle exceptions Leo Simons
- RE: [vote] lifecycle exceptions Stephen McConnell
- RE: [vote] lifecycle exceptions Peter Donald
- Re: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
- Re: [vote] lifecycle exceptions Berin Loritsch
- RE: [vote] lifecycle exceptions Stephen McConnell
