Class NoClassesFoundToAnalyzeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
edu.umd.cs.findbugs.NoClassesFoundToAnalyzeException
All Implemented Interfaces:
Serializable

public class NoClassesFoundToAnalyzeException extends IOException
Signals that FindBugs found no classes on the classpath it was invoked to analyze.

To be consistent with FindBugs 1.3 this exception is an IOException and replicates the message used in that release (because I suspect some tools looked for that text pattern to come out at the console).

Author:
Tim Halloran
See Also:
  • Constructor Details

    • NoClassesFoundToAnalyzeException

      public NoClassesFoundToAnalyzeException(IClassPath classPath)
      Constructs an NoClassesFoundToAnalyze on the passed classpath.
      Parameters:
      classPath - the classpath used
  • Method Details

    • getClassPath

      public IClassPath getClassPath()
      Gets the classpath this exception is about.
      Returns:
      Gets the non-null classpath this exception is about.