Inspectopedia Help

Exception class name does not end with 'Exception'

Reports exception classes whose names don't end with Exception.

Example: class NotStartedEx extends Exception {}

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


Java, 233.SNAPSHOT

Last modified: 13 July 2023