Package edu.umd.cs.findbugs.classfile
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 Summary
Modifier and TypeMethodDescriptionvoid
Log an error that occurs while performing analysis.void
Log an error that occurs while performing analysis.void
reportMissingClass
(ClassDescriptor classDescriptor) Called to report a class lookup failure.void
Called to report a class lookup failure.void
Report that we skipped some analysis of a method
-
Method Details
-
reportMissingClass
Called to report a class lookup failure.- Parameters:
ex
- a ClassNotFoundException resulting from the class lookup failure
-
reportMissingClass
Called to report a class lookup failure.- Parameters:
classDescriptor
- ClassDescriptor of a missing class
-
logError
Log an error that occurs while performing analysis.- Parameters:
message
- the error message
-
logError
Log an error that occurs while performing analysis.- Parameters:
message
- the error messagee
- the exception which is the underlying cause of the error
-
reportSkippedAnalysis
Report that we skipped some analysis of a method- Parameters:
method
- the method we skipped
-