Class Report.ProcessingError

java.lang.Object
net.sourceforge.pmd.reporting.Report.ProcessingError
Enclosing class:
Report

public static class Report.ProcessingError extends Object
Represents a recovered error that occurred during analysis.

This might be a parse error or an unexpected error originating from a rule. Such errors are called recoverable, because PMD can just skip the problematic file, continue the analysis with the other files and still create a report. However, due to these errors, the report might be incomplete.

Some report formats, such as XMLRenderer, include these errors for further investigation.

  • Constructor Details

    • ProcessingError

      public ProcessingError(Throwable error, FileId file)
      Creates a new processing error.
      Parameters:
      error - the error
      file - the file during which the error occurred
  • Method Details

    • getMsg

      public String getMsg()
    • getDetail

      public String getDetail()
    • getFileId

      public FileId getFileId()
    • getError

      public Throwable getError()