Inspectopedia
 
2024.3

Non-exception class name ends with 'Exception'

Warning
New
Last modified: 03 December 2024

Reports non-exception classes whose names end with Exception.

Such classes may cause confusion by breaking a common naming convention and often indicate that the extends Exception clause is missing.

Example:

public class NotStartedException {}

A quick-fix that renames such classes is available only in the editor.