edu.umd.cs.findbugs.classfile

Interface IErrorLogger

public interface IErrorLogger

Interface for objects that log various kinds of analysis errors.

Author: David Hovemeyer

Method Summary
voidlogError(String message)
Log an error that occurs while performing analysis.
voidlogError(String message, Throwable e)
Log an error that occurs while performing analysis.
voidreportMissingClass(ClassNotFoundException ex)
Called to report a class lookup failure.
voidreportMissingClass(ClassDescriptor classDescriptor)
Called to report a class lookup failure.
voidreportSkippedAnalysis(MethodDescriptor method)
Report that we skipped some analysis of a method

Method Detail

logError

public void logError(String message)
Log an error that occurs while performing analysis.

Parameters: message the error message

logError

public void logError(String message, 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

reportMissingClass

public void reportMissingClass(ClassNotFoundException ex)
Called to report a class lookup failure.

Parameters: ex a ClassNotFoundException resulting from the class lookup failure

reportMissingClass

public void reportMissingClass(ClassDescriptor classDescriptor)
Called to report a class lookup failure.

Parameters: classDescriptor ClassDescriptor of a missing class

reportSkippedAnalysis

public void reportSkippedAnalysis(MethodDescriptor method)
Report that we skipped some analysis of a method

Parameters: method the method we skipped

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