mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
489 B
HTML
14 lines
489 B
HTML
<html>
|
|
<body>
|
|
Reports fields in subclasses of <code>java.lang.Exception</code> that are not declared <code>final</code>.
|
|
<p>Data on exception objects should not be modified
|
|
because this may result in losing the error context for later debugging and logging.</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code>
|
|
public class EditorException extends Exception {
|
|
private String message; // warning: Non-final field 'message' of exception class
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |