java.lang
Class NoSuchMethodException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.NoSuchMethodException
- All Implemented Interfaces:
- Serializable
public class NoSuchMethodException
- extends Exception
Thrown to indicate the class does not have the specified method. This is
caused by a variety of reflection methods, when looking up a method by name.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NoSuchMethodException
public NoSuchMethodException()
- Create an exception without a message.
NoSuchMethodException
public NoSuchMethodException(String s)
- Create an exception with a message.
- Parameters:
s
- the message