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.- Author:
- David Hovemeyer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MissingClassException(java.lang.ClassNotFoundException exception)
Constructor.
-
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.
-
-
-
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
-
-