Files
openide/java/java-impl/resources/inspectionDescriptions/NonExceptionNameEndsWithException.html
2025-02-05 04:43:28 +00:00

11 lines
456 B
HTML

<html>
<body>
Reports non-<code>exception</code> classes whose names end with <code>Exception</code>.
<p>Such classes may cause confusion by breaking a common naming convention and
often indicate that the <code>extends Exception</code> clause is missing.</p>
<p><b>Example:</b>
<pre><code>public class NotStartedException {}</code></pre>
<p>A quick-fix that renames such classes is available only in the editor.</p>
<!-- tooltip end -->
</body>
</html>