Package edu.umd.cs.findbugs.ba
Class ClassNotFoundExceptionParser
java.lang.Object
edu.umd.cs.findbugs.ba.ClassNotFoundExceptionParser
Parse the detail message in a ClassNotFoundException to extract the name of
the missing class. Unfortunately, this information is not directly available
from the exception object. So, this class parses the detail message in
several common formats (such as the format used by BCEL).
- Author:
- David Hovemeyer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Get the name of the missing class from a ClassNotFoundException.
-
Constructor Details
-
ClassNotFoundExceptionParser
public ClassNotFoundExceptionParser()
-
-
Method Details
-
getMissingClassName
Get the name of the missing class from a ClassNotFoundException.- Parameters:
ex
- the ClassNotFoundException- Returns:
- the name of the missing class, or null if we couldn't figure out the class name
-