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