java.lang
Class NoSuchMethodError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.IncompatibleClassChangeError
java.lang.NoSuchMethodError
- All Implemented Interfaces:
- Serializable
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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchMethodError
public NoSuchMethodError()
- Create an error without a message.
NoSuchMethodError
public NoSuchMethodError(String s)
- Create an error with a message.
- Parameters:
s
- the message