Package edu.umd.cs.findbugs.ba
Class DebugRepositoryLookupFailureCallback
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.DebugRepositoryLookupFailureCallback
-
- All Implemented Interfaces:
RepositoryLookupFailureCallback,IErrorLogger
public class DebugRepositoryLookupFailureCallback extends java.lang.Object implements RepositoryLookupFailureCallback
DebugRepositoryLookupFailureCallback implementation for debugging. (Test drivers, etc.) It just prints a message and exits.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description DebugRepositoryLookupFailureCallback()
-
Method Summary
All Methods Instance Methods Concrete 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
public void reportMissingClass(java.lang.ClassNotFoundException ex)
Description copied from interface:IErrorLoggerCalled to report a class lookup failure.- Specified by:
reportMissingClassin interfaceIErrorLogger- Parameters:
ex- a ClassNotFoundException resulting from the class lookup failure
-
reportMissingClass
public void reportMissingClass(ClassDescriptor classDescriptor)
Description copied from interface:IErrorLoggerCalled to report a class lookup failure.- Specified by:
reportMissingClassin interfaceIErrorLogger- Parameters:
classDescriptor- ClassDescriptor of a missing class
-
logError
public void logError(java.lang.String message)
Description copied from interface:IErrorLoggerLog an error that occurs while performing analysis.- Specified by:
logErrorin interfaceIErrorLogger- Parameters:
message- the error message
-
logError
public void logError(java.lang.String message, java.lang.Throwable e)Description copied from interface:IErrorLoggerLog an error that occurs while performing analysis.- Specified by:
logErrorin interfaceIErrorLogger- Parameters:
message- the error messagee- the exception which is the underlying cause of the error
-
reportSkippedAnalysis
public void reportSkippedAnalysis(MethodDescriptor method)
Report that we skipped some analysis of a method- Specified by:
reportSkippedAnalysisin interfaceIErrorLogger- Parameters:
method-
-
-