Class NoSuchClassError

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchClassError
    extends java.lang.Error
    Thrown if the linkage fails. It keeps the name of the class that caused this error.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchClassError​(java.lang.String className, java.lang.Error cause)
      Constructs an exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Returns the name of the class not found.
      • 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

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

      • NoSuchClassError

        public NoSuchClassError​(java.lang.String className,
                                java.lang.Error cause)
        Constructs an exception.
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Returns the name of the class not found.