Enum FieldParser.ParseErrorState

    • Enum Constant Detail

      • NUMERIC_VALUE_OVERFLOW_UNDERFLOW

        public static final FieldParser.ParseErrorState NUMERIC_VALUE_OVERFLOW_UNDERFLOW
        The domain of the numeric type is not large enough to hold the parsed value.
      • NUMERIC_VALUE_ORPHAN_SIGN

        public static final FieldParser.ParseErrorState NUMERIC_VALUE_ORPHAN_SIGN
        A stand-alone sign was encountered while parsing a numeric type.
      • NUMERIC_VALUE_ILLEGAL_CHARACTER

        public static final FieldParser.ParseErrorState NUMERIC_VALUE_ILLEGAL_CHARACTER
        An illegal character was encountered while parsing a numeric type.
      • NUMERIC_VALUE_FORMAT_ERROR

        public static final FieldParser.ParseErrorState NUMERIC_VALUE_FORMAT_ERROR
        The field was not in a correct format for the numeric type.
      • UNTERMINATED_QUOTED_STRING

        public static final FieldParser.ParseErrorState UNTERMINATED_QUOTED_STRING
        A quoted string was not terminated until the line end.
      • UNQUOTED_CHARS_AFTER_QUOTED_STRING

        public static final FieldParser.ParseErrorState UNQUOTED_CHARS_AFTER_QUOTED_STRING
        The parser found characters between the end of the quoted string and the delimiter.
    • Method Detail

      • values

        public static FieldParser.ParseErrorState[] 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 (FieldParser.ParseErrorState c : FieldParser.ParseErrorState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FieldParser.ParseErrorState valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null