Class MandatoryError

  • All Implemented Interfaces:
    fr.paris.lutece.util.ErrorMessage, java.io.Serializable

    public class MandatoryError
    extends GenericAttributeError
    Error that indicates that a mandatory field has not been set
    See Also:
    Serialized Form
    • Constructor Detail

      • MandatoryError

        public MandatoryError​(Entry entry,
                              java.util.Locale locale)
        Creates a new mandatory error
        Parameters:
        entry - the entry
        locale - the locale
    • Method Detail

      • isMandatoryError

        public boolean isMandatoryError()
        return true if the error is a mandatory error
        Overrides:
        isMandatoryError in class GenericAttributeError
        Returns:
        true if the error is a mandatory error