to top
Android APIs
public class

AbstractMethodError

extends IncompatibleClassChangeError
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.LinkageError
         ↳ java.lang.IncompatibleClassChangeError
           ↳ java.lang.AbstractMethodError

Class Overview

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.

Summary

Public Constructors
AbstractMethodError()
Constructs a new AbstractMethodError that includes the current stack trace.
AbstractMethodError(String detailMessage)
Constructs a new AbstractMethodError with the current stack trace and the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public AbstractMethodError ()

Added in API level 1

Constructs a new AbstractMethodError that includes the current stack trace.

public AbstractMethodError (String detailMessage)

Added in API level 1

Constructs a new AbstractMethodError with the current stack trace and the specified detail message.

Parameters
detailMessage the detail message for this error.