lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

NoSuchFieldException

public class NoSuchFieldException
extends ReflectiveOperationException

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


Signals that the class doesn't have a field of a specified name.

Summary

Public constructors

NoSuchFieldException()

Constructor.

NoSuchFieldException(String s)

Constructor with a detail message.

Inherited methods

Public constructors

NoSuchFieldException

added in API level 1
public NoSuchFieldException ()

Constructor.

NoSuchFieldException

added in API level 1
public NoSuchFieldException (String s)

Constructor with a detail message.

Parameters
s String: the detail message