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

12 lines
404 B
HTML

<html>
<body>
Reports creation of a exception instance without any arguments specified.
<p>When an exception is constructed without any arguments, it contains no information about the problem that occurred, which makes
debugging needlessly hard.</p>
<p><b>Example:</b></p>
<pre><code>
throw new IOException(); // warning: exception without arguments
</code></pre>
<!-- tooltip end -->
</body>
</html>