Home
last modified time | relevance | path

Searched refs:toParseException (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPatternStringParser.java234 IllegalArgumentException toParseException(String message) { in toParseException() method in PatternStringParser.ParserState
259 throw state.toParseException("Found unquoted special character"); in consumePattern()
283 throw state.toParseException("Cannot have multiple pad specifiers"); in consumePadding()
345 throw state.toParseException("Expected unquoted literal but found EOL"); in consumeLiteral()
350 throw state.toParseException("Expected quoted literal but found EOL"); in consumeLiteral()
382 throw state.toParseException("# cannot follow 0 before decimal point"); in consumeIntegerFormat()
396 throw state.toParseException("Cannot mix 0 and @"); in consumeIntegerFormat()
399 throw state.toParseException("Cannot nest # inside of a run of @"); in consumeIntegerFormat()
418 throw state.toParseException("Cannot mix @ and 0"); in consumeIntegerFormat()
443 throw state.toParseException("Trailing grouping separator is invalid"); in consumeIntegerFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DPatternStringParser.java240 IllegalArgumentException toParseException(String message) { in toParseException() method in PatternStringParser.ParserState
265 throw state.toParseException("Found unquoted special character"); in consumePattern()
289 throw state.toParseException("Cannot have multiple pad specifiers"); in consumePadding()
351 throw state.toParseException("Expected unquoted literal but found EOL"); in consumeLiteral()
356 throw state.toParseException("Expected quoted literal but found EOL"); in consumeLiteral()
388 throw state.toParseException("# cannot follow 0 before decimal point"); in consumeIntegerFormat()
402 throw state.toParseException("Cannot mix 0 and @"); in consumeIntegerFormat()
405 throw state.toParseException("Cannot nest # inside of a run of @"); in consumeIntegerFormat()
424 throw state.toParseException("Cannot mix @ and 0"); in consumeIntegerFormat()
449 throw state.toParseException("Trailing grouping separator is invalid"); in consumeIntegerFormat()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_patternstring.cpp158 state.toParseException(u"Found unquoted special character"); in consumePattern()
188 state.toParseException(u"Cannot have multiple pad specifiers"); in consumePadding()
258 state.toParseException(u"Expected unquoted literal but found EOL"); in consumeLiteral()
265 state.toParseException(u"Expected quoted literal but found EOL"); in consumeLiteral()
304 state.toParseException(u"# cannot follow 0 before decimal point"); in consumeIntegerFormat()
320 state.toParseException(u"Cannot mix 0 and @"); in consumeIntegerFormat()
325 state.toParseException(u"Cannot nest # inside of a run of @"); in consumeIntegerFormat()
346 state.toParseException(u"Cannot mix @ and 0"); in consumeIntegerFormat()
371 state.toParseException(u"Trailing grouping separator is invalid"); in consumeIntegerFormat()
376 state.toParseException(u"Grouping width of zero is invalid"); in consumeIntegerFormat()
[all …]
Dnumber_patternstring.h116 inline void toParseException(const char16_t* message) { (void) message; } in toParseException() function