FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile
Interface IErrorLogger

All Known Subinterfaces:
BugReporter, RepositoryLookupFailureCallback
All Known Implementing Classes:
AbstractBugReporter, BugCollectionBugReporter, CategoryFilteringBugReporter, DebugRepositoryLookupFailureCallback, DelegatingBugReporter, EmacsBugReporter, ErrorCountingBugReporter, ExcludingHashesBugReporter, FilterBugReporter, HTMLBugReporter, PrintingBugReporter, SortingBugReporter, SwingGUIBugReporter, TextUIBugReporter, XDocsBugReporter, XMLBugReporter

public interface IErrorLogger

Interface for objects that log various kinds of analysis errors.

Author:
David Hovemeyer

Method Summary
 void logError(java.lang.String message)
          Log an error that occurs while performing analysis.
 void logError(java.lang.String message, java.lang.Throwable e)
          Log an error that occurs while performing analysis.
 void reportMissingClass(ClassDescriptor classDescriptor)
          Called to report a class lookup failure.
 void reportMissingClass(java.lang.ClassNotFoundException ex)
          Called to report a class lookup failure.
 void reportSkippedAnalysis(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 message
e - 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

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.