Package java.lang
Class AbstractMethodError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.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 Summary
Constructors Constructor Description AbstractMethodError()Constructs a newAbstractMethodErrorthat includes the current stack trace.AbstractMethodError(String detailMessage)Constructs a newAbstractMethodErrorwith the current stack trace and the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractMethodError
public AbstractMethodError()Constructs a newAbstractMethodErrorthat includes the current stack trace. -
AbstractMethodError
Constructs a newAbstractMethodErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this error.
-