java.lang
Class AbstractMethodError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Error
|
+--java.lang.LinkageError
|
+--java.lang.IncompatibleClassChangeError
|
+--java.lang.AbstractMethodError
An AbstractMethodError
is thrown when an application attempts
to access an abstract method. Compilers typically detect this error, but
it can be thrown at run time if the definition of a class has changed
since the application was last compiled. This can also occur when
reflecting on methods.
Authors:- Brian Jones
- Tom Tromey <tromey@cygnus.com>
AbstractMethodError
public AbstractMethodError()
Create an error without a message.
AbstractMethodError
public AbstractMethodError(java.lang.String s)
Create an error with a message.
Parameters:
AbstractMethodError
is thrown when an application attempts to access an abstract method. Compilers typically detect this error, but it can be thrown at run time if the definition of a class has changed since the application was last compiled. This can also occur when reflecting on methods.