Package edu.umd.cs.findbugs
Class NoClassesFoundToAnalyzeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- edu.umd.cs.findbugs.NoClassesFoundToAnalyzeException
-
- All Implemented Interfaces:
java.io.Serializable
public class NoClassesFoundToAnalyzeException extends java.io.IOExceptionSignals that FindBugs found no classes on the classpath it was invoked to analyze.To be consistent with FindBugs 1.3 this exception is an
IOExceptionand 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
-
-
Constructor Summary
Constructors Constructor Description NoClassesFoundToAnalyzeException(IClassPath classPath)Constructs anNoClassesFoundToAnalyzeon the passed classpath.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IClassPathgetClassPath()Gets the classpath this exception is about.
-
-
-
Constructor Detail
-
NoClassesFoundToAnalyzeException
public NoClassesFoundToAnalyzeException(IClassPath classPath)
Constructs anNoClassesFoundToAnalyzeon 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.
-
-