Most visited

Recently visited

Added in API level 1

NoSuchMethodException

public class NoSuchMethodException
extends ReflectiveOperationException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.ReflectiveOperationException
         ↳ java.lang.NoSuchMethodException


在找不到特定方法时抛出。

Summary

Public constructors

NoSuchMethodException()

构造一个没有详细信息的 NoSuchMethodException

NoSuchMethodException(String s)

用详细消息构造一个 NoSuchMethodException

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

NoSuchMethodException

Added in API level 1
NoSuchMethodException ()

构造一个没有详细信息的 NoSuchMethodException

NoSuchMethodException

Added in API level 1
NoSuchMethodException (String s)

用详细消息构造一个 NoSuchMethodException

Parameters
s String: the detail message.

Hooray!