java.lang
Class AbstractMethodError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.AbstractMethodError
public class AbstractMethodError
- extends IncompatibleClassChangeError
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.
AbstractMethodError
public AbstractMethodError()
- Create an error without a message.
AbstractMethodError
public AbstractMethodError(String s)
- Create an error with a message.
- Parameters:
s
- the message