public class ErrorCountingBugReporter extends DelegatingBugReporter
NORMAL, SILENT
Constructor and Description |
---|
ErrorCountingBugReporter(BugReporter realBugReporter) |
Modifier and Type | Method and Description |
---|---|
int |
getBugCount() |
int |
getErrorCount() |
int |
getMissingClassCount() |
void |
logError(java.lang.String message)
Log an error that occurs while performing analysis.
|
void |
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a class lookup failure.
|
addObserver, finish, getBugCollection, getDelegate, getProjectStats, logError, observeClass, reportBug, reportMissingClass, reportQueuedErrors, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold
public ErrorCountingBugReporter(BugReporter realBugReporter)
public int getBugCount()
public int getMissingClassCount()
public int getErrorCount()
public void logError(java.lang.String message)
IErrorLogger
logError
in interface IErrorLogger
logError
in class DelegatingBugReporter
message
- the error messagepublic void reportMissingClass(java.lang.ClassNotFoundException ex)
IErrorLogger
reportMissingClass
in interface IErrorLogger
reportMissingClass
in class DelegatingBugReporter
ex
- a ClassNotFoundException resulting from the class lookup
failureFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.