Package org.teavm.classlib.java.lang
Class TAbstractMethodError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
org.teavm.classlib.java.lang.TAbstractMethodError
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractMethodErrorthat includes the current stack trace.TAbstractMethodError(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
-
TAbstractMethodError
public TAbstractMethodError()Constructs a newAbstractMethodErrorthat includes the current stack trace. -
TAbstractMethodError
Constructs a newAbstractMethodErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this error.
-