edu.umd.cs.findbugs.ba
Interface RepositoryLookupFailureCallback
- All Known Subinterfaces:
- BugReporter
- All Known Implementing Classes:
- AbstractBugReporter, AnalysisRun.Reporter, BugCollectionBugReporter, DelegatingBugReporter, EmacsBugReporter, FilterBugReporter, FindBugs.CategoryFilteringBugReporter, FindBugs.ErrorCountingBugReporter, HTMLBugReporter, PrintingBugReporter, SortingBugReporter, TextUIBugReporter, XDocsBugReporter, XMLBugReporter
public interface RepositoryLookupFailureCallback
An interface which Repository class lookup failures are reported to.
Some of the analysis classes make use of class hierarchy information.
In collecting this information, errors can result because some
classes in the hierarchy can't be found; e.g., when the runtime
classpath is incomplete. When possible, the analysis classes
will be conservative in the event of a lookup failure. However,
it is important to report such lookup failures to the user.
So, classes that use the Repository should have a callback object
to report lookup failures to.
- Author:
- David Hovemeyer
Method Summary |
void |
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a lookup failure. |
reportMissingClass
void reportMissingClass(java.lang.ClassNotFoundException ex)
- Called to report a lookup failure.
- Parameters:
ex
- a ClassNotFoundException resulting from the failure