Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 430 Bytes

CatchNullPointerException.md

File metadata and controls

11 lines (6 loc) · 430 Bytes

Pattern: Catching NullPointerException

Issue: -

Description

Checks for catching a NullPointerException. Catching NullPointerException is never appropriate. It should be avoided in the first place with proper null checking, and it can mask underlying errors.

Further Reading