FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class NoClassesFoundToAnalyzeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by edu.umd.cs.findbugs.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

Constructor Summary
NoClassesFoundToAnalyzeException(IClassPath classPath)
          Constructs an NoClassesFoundToAnalyze on the passed classpath.
 
Method Summary
 IClassPath getClassPath()
          Gets the classpath this exception is about.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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.

FindBugs™ 1.3.9

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