Package com.github.mizool.core.exception
Class ReadonlyFieldException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.github.mizool.core.exception.AbstractUnprocessableEntityException
- 
- com.github.mizool.core.exception.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 SummaryConstructors Constructor Description ReadonlyFieldException(@NonNull String fieldName)ReadonlyFieldException(@NonNull String fieldName, @NonNull String recordId)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFieldName()StringgetRecordId()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
-