Class ReadonlyFieldException

  • All Implemented Interfaces:
    Serializable

    public class ReadonlyFieldException
    extends AbstractUnprocessableEntityException
    Thrown when an attempt is made to change the value of a field that is considered read-only for the current operation. For example, it may be forbidden to change the name of a user group, although it must be set when creating one.
    See Also:
    Serialized Form
    • Constructor Detail

      • ReadonlyFieldException

        public ReadonlyFieldException​(@NonNull
                                      @NonNull String fieldName)
      • ReadonlyFieldException

        public ReadonlyFieldException​(@NonNull
                                      @NonNull String fieldName,
                                      @NonNull
                                      @NonNull String recordId)
    • Method Detail

      • getFieldName

        public String getFieldName()
      • getRecordId

        public String getRecordId()