- * An integer indicating the type of error. If no error was
- * encountered, the parse engine sets this to zero, and the
- * other fields' values should be ignored.
- *
- * <p>Each parse engine should use a range of codes from
- * 0xNNNN0001 to 0xNNNNFFFF, where NNNN is a 16-bit integer
- * between 0x0001 and 0xFFFF unique to each parse engine.
- * Parse engines should define the enum PARSE_ERROR_BASE
- * to be 0xNNNN0000.
- */
- /*int32_t code; */
-
- /**
- * The line on which the error occured. If the parse engine
- * is not using this field, it should set it to zero. Otherwise
- * it should be a positive integer. The default value of this field
- * is -1. It will be set to 0 if the code populating this struct is not
- * using line numbers.
- * @stable ICU 2.0
+ * The line on which the error occured. If the parser uses this
+ * field, it sets it to the line number of the source text line on
+ * which the error appears, which will be be a value >= 1. If the
+ * parse does not support line numbers, the value will be <= 0.
+ * @stable ICU 2.0