Package edu.umd.cs.findbugs.ba
Class MissingClassException
java.lang.Object
java.lang.Throwable
java.lang.Exception
edu.umd.cs.findbugs.classfile.CheckedAnalysisException
edu.umd.cs.findbugs.ba.DataflowAnalysisException
edu.umd.cs.findbugs.ba.MissingClassException
- All Implemented Interfaces:
Serializable
DataflowAnalysisException variant to report a class lookup failure that
caused dataflow analysis to abort.
- Author:
- David Hovemeyer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the missing class.Get the ClassNotFoundException that caused this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingClassException
Constructor.- Parameters:
exception
- the ClassNotFoundException that caused this exception
-
-
Method Details
-
getClassName
Get the name of the missing class.- Returns:
- name of the missing class, or null if the missing class name is unknown
-
getClassDescriptor
-
getClassNotFoundException
Get the ClassNotFoundException that caused this exception.- Returns:
- the ClassNotFoundException that caused this exception
-