java.lang
Class AbstractMethodError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- java.lang.IncompatibleClassChangeError
-
- java.lang.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 Summary
Constructors Constructor and Description AbstractMethodError()
Constructs a newAbstractMethodError
that includes the current stack trace.AbstractMethodError(String detailMessage)
Constructs a newAbstractMethodError
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
AbstractMethodError
public AbstractMethodError()
Constructs a newAbstractMethodError
that includes the current stack trace.
-
AbstractMethodError
public AbstractMethodError(String detailMessage)
Constructs a newAbstractMethodError
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this error.
-
-