APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class NoSuchMethodError

extends IncompatibleClassChangeError
Class Inheritance

Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.

Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NoSuchMethodError()

Constructs a NoSuchMethodError with no detail message.

public
NoSuchMethodError(String
the detail message.
s
)

Constructs a NoSuchMethodError with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IncompatibleClassChangeError.serialVersionUID.

Annotations
@Serial

Constructor Detail

NoSuchMethodErrorback to summary
public NoSuchMethodError()

Constructs a NoSuchMethodError with no detail message.

NoSuchMethodErrorback to summary
public NoSuchMethodError(String s)

Constructs a NoSuchMethodError with the specified detail message.

Parameters
s:String

the detail message.