Module java.base
Package java.lang

Class NoSuchFieldException

All Implemented Interfaces:
Serializable

public class NoSuchFieldException extends ReflectiveOperationException
Signals that the class doesn't have a field of a specified name.
Since:
1.1
See Also:
  • Constructor Details

    • NoSuchFieldException

      public NoSuchFieldException()
      Constructor.
    • NoSuchFieldException

      public NoSuchFieldException(String s)
      Constructor with a detail message.
      Parameters:
      s - the detail message