Home
last modified time | relevance | path

Searched refs:errorIndex (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimeParseException.java90 private final int errorIndex; field in DateTimeParseException
99 public DateTimeParseException(String message, CharSequence parsedData, int errorIndex) { in DateTimeParseException() argument
102 this.errorIndex = errorIndex; in DateTimeParseException()
113 …public DateTimeParseException(String message, CharSequence parsedData, int errorIndex, Throwable c… in DateTimeParseException() argument
116 this.errorIndex = errorIndex; in DateTimeParseException()
135 return errorIndex; in getErrorIndex()
/libcore/ojluni/src/main/java/java/text/
DParsePosition.java66 int errorIndex = -1; field in ParsePosition
106 errorIndex = ei; in setErrorIndex()
118 return errorIndex; in getErrorIndex()
130 return (index == other.index && errorIndex == other.errorIndex); in equals()
138 return (errorIndex << 16) | index; in hashCode()
148 ",errorIndex=" + errorIndex + ']'; in toString()
DMessageFormat.java983 pos.errorIndex = sourceOffset; in parse()
1003 pos.errorIndex = sourceOffset; in parse()
1017 pos.errorIndex = sourceOffset; in parse()
1028 pos.errorIndex = sourceOffset; in parse()
1051 throw new ParseException("MessageFormat parse error!", pos.errorIndex); in parse()
DFormat.java246 pos.errorIndex); in parseObject()
DSimpleDateFormat.java1757 pos.errorIndex = start; in parseInternal()
1767 pos.errorIndex = start; in parseInternal()
1844 pos.errorIndex = start; in parseInternal()
2291 origPos.errorIndex = start; in subParse()
2719 origPos.errorIndex = pos.index; in subParse()
DDateFormat.java363 pos.errorIndex); in parse()
DChoiceFormat.java441 status.errorIndex = furthest; in parse()
DNumberFormat.java376 parsePosition.errorIndex); in parse()
/libcore/ojluni/src/main/java/java/util/
DIllformedLocaleException.java76 public IllformedLocaleException(String message, int errorIndex) { in IllformedLocaleException() argument
77 super(message + ((errorIndex < 0) ? "" : " [at index " + errorIndex + "]")); in IllformedLocaleException()
78 _errIdx = errorIndex; in IllformedLocaleException()
/libcore/ojluni/src/main/java/sun/util/locale/
DParseStatus.java36 int errorIndex; field in ParseStatus
45 errorIndex = -1; in reset()
50 return (errorIndex >= 0); in isError()
54 return errorIndex; in getErrorIndex()
DLocaleSyntaxException.java44 public LocaleSyntaxException(String msg, int errorIndex) { in LocaleSyntaxException() argument
46 index = errorIndex; in LocaleSyntaxException()
DLanguageTag.java213 sts.errorIndex = itr.currentStart(); in parse()
362 sts.errorIndex = start; in parseExtensions()
405 sts.errorIndex = start; in parsePrivateuse()