Exception Anti-Patterns -5
n
Some programmers avoid the complexity of exception
handling by writing
all
their methods this way:
n
public void myMethod() throws Exception
{
...code which may throw exceptions goes here...
}
n
What is wrong with this code?