Java

Java

Made by DeepSource

Exception classes must be named appropriately JAVA-W1000

Anti-pattern
Minor

This class is an exception, but its name does not end in Exception. This could be confusing to consumers of your API.

Bad Practice

class BadName extends Exception {
    // ...
}

Recommended

class ActuallyAnException extends Exception {
    // ...
}