Serializablepublic class NoSuchMethodError extends IncompatibleClassChangeError
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.
public NoSuchMethodError()
NoSuchMethodError with no detail message.public NoSuchMethodError(String s)
NoSuchMethodError with the
specified detail message.s - the detail message.