Class ProfileFormFieldException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
io.meeds.social.core.profileproperty.exception.ProfileFormFieldException
All Implemented Interfaces:
Serializable

public class ProfileFormFieldException extends IllegalArgumentException
A profile attribute value an account or registration form refuses: the message is the refusal's code, which is also its label key, and getPropertyName() names the refused attribute.
See Also:
  • Field Details

    • NOT_ALLOWED

      public static final String NOT_ALLOWED
      The attribute is not one the form can write
      See Also:
    • INVALID_OPTION

      public static final String INVALID_OPTION
      A dropdown value is none of the attribute's options
      See Also:
    • REQUIRED

      public static final String REQUIRED
      A Required attribute has no value
      See Also:
    • INVALID_EMAIL

      public static final String INVALID_EMAIL
      An e-mail attribute's value is not an e-mail address
      See Also:
    • TOO_LONG

      public static final String TOO_LONG
      The value is longer than its storage, or than the group it makes when the attribute is group-synchronized
      See Also:
    • INVALID_VALUE

      public static final String INVALID_VALUE
      The value holds a character the storage cannot hold, makes no group, would not read back as written, or is sent in the other attribute's shape: values for a single-valued attribute, value for a multi-valued one
      See Also:
  • Constructor Details

    • ProfileFormFieldException

      public ProfileFormFieldException(String code, String propertyName)