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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionMissingClassException
(ClassNotFoundException exception) Constructor.private
MissingClassException
(String className) -
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
className
-
-
Constructor Details
-
MissingClassException
-
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
-