Class UnknownFieldException

All Implemented Interfaces:
Serializable

public class UnknownFieldException extends DatabaseException
Thrown when an unknown field is accessed.
See Also:
  • Constructor Details

    • UnknownFieldException

      public UnknownFieldException(ObjType type, String fieldName)
      Constructor.
      Parameters:
      type - containing object type, or null for none
      fieldName - unknown field name
    • UnknownFieldException

      public UnknownFieldException(ObjType type, String fieldName, String description)
      Constructor.
      Parameters:
      type - containing object type, or null for none
      fieldName - unknown field name
      description - description of the unknown field
    • UnknownFieldException

      public UnknownFieldException(ObjType type, int storageId)
      Constructor.
      Parameters:
      type - containing object type, or null for none
      storageId - unknown field storage ID
    • UnknownFieldException

      public UnknownFieldException(String fieldName, String message)
      Constructor.
      Parameters:
      fieldName - unknown field name
      message - exception message
  • Method Details

    • getObjType

      public ObjType getObjType()
      Get the object in which the field was not found, if any.
      Returns:
      containing object type, or null if this error is not specific to one object type
    • getFieldName

      public String getFieldName()
      Get the name that was not recognized.
      Returns:
      unrecognized field name