Inspectopedia Help

Unchecked 'Exception' class

Reports subclasses of java.lang.RuntimeException.

Some coding standards require that all user-defined exception classes are checked.

Example:

class EnigmaException extends RuntimeException {} // warning: Unchecked exception class 'EnigmaException'

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Java, 241.16690

Last modified: 29 April 2024