Package java.lang

Class AbstractMethodError

  • All Implemented Interfaces:
    Serializable

    public class AbstractMethodError
    extends IncompatibleClassChangeError
    Thrown by the VM when an abstract method is called.

    Note that this can only occur when inconsistent class files have been loaded, since invoking an abstract method is a compile time error.

    See Also:
    Serialized Form
    • Constructor Detail

      • AbstractMethodError

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

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