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 Object
implements RepositoryLookupFailureCallback
DebugRepositoryLookupFailureCallback implementation for debugging. (Test
drivers, etc.) It just prints a message and exits.
- Author:
- David Hovemeyer
-
Constructor Summary
-
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
-
Constructor Details
-
DebugRepositoryLookupFailureCallback
public DebugRepositoryLookupFailureCallback()
-
-
Method Details
-
reportMissingClass
Description copied from interface:IErrorLogger
Called to report a class lookup failure.- Specified by:
reportMissingClass
in interfaceIErrorLogger
- Parameters:
ex
- a ClassNotFoundException resulting from the class lookup failure
-
reportMissingClass
Description copied from interface:IErrorLogger
Called to report a class lookup failure.- Specified by:
reportMissingClass
in interfaceIErrorLogger
- Parameters:
classDescriptor
- ClassDescriptor of a missing class
-
logError
Description copied from interface:IErrorLogger
Log an error that occurs while performing analysis.- Specified by:
logError
in interfaceIErrorLogger
- Parameters:
message
- the error message
-
logError
Description copied from interface:IErrorLogger
Log an error that occurs while performing analysis.- Specified by:
logError
in interfaceIErrorLogger
- 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- Specified by:
reportSkippedAnalysis
in interfaceIErrorLogger
- Parameters:
method
-
-