Package java.lang

Class NoClassDefFoundError

  • All Implemented Interfaces:
    Serializable

    public class NoClassDefFoundError
    extends LinkageError
    Thrown when the VM is unable to locate a class which it has been asked to load.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoClassDefFoundError

        public NoClassDefFoundError()
        Constructs a new NoClassDefFoundError that includes the current stack trace.
      • NoClassDefFoundError

        public NoClassDefFoundError​(String detailMessage)
        Constructs a new NoClassDefFoundError with the current stack trace and the specified detail message.
        Parameters:
        detailMessage - the detail message for this error.