Class 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MissingClassException

        private MissingClassException​(java.lang.String className)
      • MissingClassException

        public MissingClassException​(java.lang.ClassNotFoundException exception)
        Constructor.
        Parameters:
        exception - 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
      • getClassNotFoundException

        public java.lang.ClassNotFoundException getClassNotFoundException()
        Get the ClassNotFoundException that caused this exception.
        Returns:
        the ClassNotFoundException that caused this exception