Class MissingFieldException

All Implemented Interfaces:
ErrorWriter, Serializable

public class MissingFieldException extends ObjectAccessException
Indicates a missing field or property creating an object.
Since:
1.4.2
See Also:
  • Field Details

    • fieldName

      private final String fieldName
    • className

      private final String className
  • Constructor Details

    • MissingFieldException

      public MissingFieldException(String className, String fieldName)
      Construct a MissingFieldException.
      Parameters:
      className - the name of the class missing the field
      fieldName - the name of the missed field
      Since:
      1.4.2
  • Method Details

    • getFieldName

      public String getFieldName()
      Retrieve the name of the missing field.
      Returns:
      the field name
      Since:
      1.4.2
    • getClassName

      protected String getClassName()
      Retrieve the name of the class with the missing field.
      Returns:
      the class name
      Since:
      1.4.2