Package edu.umd.cs.findbugs.classfile
Interface IErrorLogger
-
- All Known Subinterfaces:
BugReporter,RepositoryLookupFailureCallback
- All Known Implementing Classes:
AbstractBugReporter,BugCollectionBugReporter,BugReporterDecorator,CategoryFilteringBugReporter,DebugRepositoryLookupFailureCallback,DelegatingBugReporter,EmacsBugReporter,ErrorCountingBugReporter,ExcludingHashesBugReporter,FilterBugReporter,HTMLBugReporter,MaxRankDecorator,PrintingBugReporter,SortingBugReporter,SuppressionDecorator,TextUIBugReporter,XDocsBugReporter,XMLBugReporter
public interface IErrorLoggerInterface for objects that log various kinds of analysis errors.- Author:
- David Hovemeyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlogError(java.lang.String message)Log an error that occurs while performing analysis.voidlogError(java.lang.String message, java.lang.Throwable e)Log an error that occurs while performing analysis.voidreportMissingClass(ClassDescriptor classDescriptor)Called to report a class lookup failure.voidreportMissingClass(java.lang.ClassNotFoundException ex)Called to report a class lookup failure.voidreportSkippedAnalysis(MethodDescriptor method)Report that we skipped some analysis of a method
-
-
-
Method Detail
-
reportMissingClass
void reportMissingClass(java.lang.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(java.lang.String message)
Log an error that occurs while performing analysis.- Parameters:
message- the error message
-
logError
void logError(java.lang.String message, java.lang.Throwable e)Log an error that occurs while performing analysis.- Parameters:
message- the error messagee- 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
-
-