Archived
This forum has been archived. Please start a new discussion on GitHub.
Bad exception example (Joke)
Colin Adams
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
