Skip to content

Files

Latest commit

 

History

History
18 lines (11 loc) · 462 Bytes

SpaceAfterCatch.md

File metadata and controls

18 lines (11 loc) · 462 Bytes

Pattern: Malformed space after catch

Issue: -

Description

Checks that there is exactly one space (blank) after the catch keyword and before the opening parenthesis.

Examples of violations:

try { } catch(Exception e) { }          // violation
try { } catch  (Exception e) { }        // violation

Further Reading