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()
DFormat.java246 pos.errorIndex); in parseObject()
DMessageFormat.java980 pos.errorIndex = sourceOffset; in parse()
1000 pos.errorIndex = sourceOffset; in parse()
1014 pos.errorIndex = sourceOffset; in parse()
1025 pos.errorIndex = sourceOffset; in parse()
1048 throw new ParseException("MessageFormat parse error!", pos.errorIndex); in parse()
DSimpleDateFormat.java1558 pos.errorIndex = start; in parseInternal()
1568 pos.errorIndex = start; in parseInternal()
1645 pos.errorIndex = start; in parseInternal()
2045 origPos.errorIndex = start; in subParse()
2388 origPos.errorIndex = pos.index; in subParse()
DDateFormat.java363 pos.errorIndex); in parse()
DChoiceFormat.java438 status.errorIndex = furthest; in parse()
DNumberFormat.java373 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()