Enum GuideSubmitErrorCause

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<GuideSubmitErrorCause>

    public enum GuideSubmitErrorCause
    extends java.lang.Enum<GuideSubmitErrorCause>
    GuideSubmitErrorCause represents reason due to which server side failure happened. 1) If validation failure is caused by Captcha then use CAPTCHA_VALIDATION 2) If validation failure is caused by server side validation failure then use SERVER_SIDE_VALIDATION.
    • Method Detail

      • values

        public static GuideSubmitErrorCause[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GuideSubmitErrorCause c : GuideSubmitErrorCause.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GuideSubmitErrorCause valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null