Developer Zone



Class AbstractMethodError

  • public class AbstractMethodError
    extends IncompatibleClassChangeError
    Thrown by the virtual machine 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.

    • 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.
        detailMessage - the detail message for this error.