Interface IErrorLogger

All Known Subinterfaces:
BugReporter, RepositoryLookupFailureCallback
All Known Implementing Classes:
AbstractBugReporter, BugCollectionBugReporter, BugReportDispatcher, BugReporterDecorator, CategoryFilteringBugReporter, DebugRepositoryLookupFailureCallback, DelegatingBugReporter, EmacsBugReporter, ErrorCountingBugReporter, ExcludingHashesBugReporter, FilterBugReporter, HTMLBugReporter, MaxRankDecorator, PrintingBugReporter, SarifBugReporter, SortingBugReporter, SuppressionDecorator, TextUIBugReporter, XDocsBugReporter, XMLBugReporter

public interface IErrorLogger
Interface for objects that log various kinds of analysis errors.
Author:
David Hovemeyer
  • Method Details

    • reportMissingClass

      void reportMissingClass(ClassNotFoundException ex)
      Called to report a class lookup failure.
      Parameters:
      ex - a ClassNotFoundException resulting from the class lookup failure
    • reportMissingClass

      void reportMissingClass(ClassDescriptor classDescriptor)
      Called to report a class lookup failure.
      Parameters:
      classDescriptor - ClassDescriptor of a missing class
    • logError

      void logError(String message)
      Log an error that occurs while performing analysis.
      Parameters:
      message - the error message
    • logError

      void logError(String message, Throwable e)
      Log an error that occurs while performing analysis.
      Parameters:
      message - the error message
      e - the exception which is the underlying cause of the error
    • reportSkippedAnalysis

      void reportSkippedAnalysis(MethodDescriptor method)
      Report that we skipped some analysis of a method
      Parameters:
      method - the method we skipped