The else block in a if-else-construct is unnecessary if the if block contains a return. Then the content of the else block can be put outside. It creates an unnecessary block code, making readability harder.
For when an unnecessary catch block is detected. The else block in a if-else-construct is unnecessary if the if block contains a return. Then the content of the else block can be put outside.