Reports a field in a subclass of java.lang.Exception that is not declared final.

Data on exception objects should not be modified because this may result in loosing the error context for later debugging and logging.

Example:


  public class EditorException extends Exception {
    private String message; // warning: Non-final field 'message' of exception class
  }