java.lang
Class NoSuchMethodError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchMethodError
public class NoSuchMethodError
- extends IncompatibleClassChangeError
A NoSuchMethodError
is thrown if an application attempts
to access a method of a class, and that class no longer has that method.
This is normally detected by the compiler, so it signals that you are
using binary incompatible class versions.
NoSuchMethodError
public NoSuchMethodError()
- Create an error without a message.
NoSuchMethodError
public NoSuchMethodError(String s)
- Create an error with a message.
- Parameters:
s
- the message