Non-exception class name ends with 'Exception'
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.
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023