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:
java.io.Serializable
public class MissingClassException extends DataflowAnalysisException
DataflowAnalysisException variant to report a class lookup failure that caused dataflow analysis to abort.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
className
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description MissingClassException(java.lang.ClassNotFoundException exception)
Constructor.private
MissingClassException(java.lang.String className)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassDescriptor
getClassDescriptor()
java.lang.String
getClassName()
Get the name of the missing class.java.lang.ClassNotFoundException
getClassNotFoundException()
Get the ClassNotFoundException that caused this exception.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
className
@DottedClassName private final java.lang.String className
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Get the name of the missing class.- Returns:
- name of the missing class, or null if the missing class name is unknown
-
getClassDescriptor
public ClassDescriptor getClassDescriptor()
-
getClassNotFoundException
public java.lang.ClassNotFoundException getClassNotFoundException()
Get the ClassNotFoundException that caused this exception.- Returns:
- the ClassNotFoundException that caused this exception
-
-