Module java.base
Package java.lang

Class NoSuchMethodException

All Implemented Interfaces:
Serializable

public class NoSuchMethodException extends ReflectiveOperationException
Thrown when a particular method cannot be found.
Since:
1.0
See Also:
Serialized Form
  • Constructor Details

    • NoSuchMethodException

      public NoSuchMethodException()
      Constructs a NoSuchMethodException without a detail message.
    • NoSuchMethodException

      public NoSuchMethodException(String s)
      Constructs a NoSuchMethodException with a detail message.
      Parameters:
      s - the detail message.