Bad exception example (Joke)

in Comments
In the chapter on writing a Java client, you give the example:
interface Child {
void askToCleanUp() throws Tantrum;
}
This is bad programming practice, as an exception should not be used for expected normal behaviour.
interface Child {
void askToCleanUp() throws Tantrum;
}
This is bad programming practice, as an exception should not be used for expected normal behaviour.
0
Comments
interface Child {
void askToCleanUp() throws DoesAsTold;
}
Regards, Matthew