Class NoClassesFoundToAnalyzeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoClassesFoundToAnalyzeException
    extends java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IClassPath getClassPath()
      Gets the classpath this exception is about.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoClassesFoundToAnalyzeException

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

      • getClassPath

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