Home | History | Annotate | Download | only in numfmt

Lines Matching refs:errorCode

102  * @param errorCode ICU error code, must pass U_SUCCESS() on input.
105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
107 if(U_FAILURE(errorCode)) {
111 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
120 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
165 errorCode=U_UNSUPPORTED_ERROR;
191 * @param errorCode ICU error code, must pass U_SUCCESS() on input.
194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
195 if(U_FAILURE(errorCode)) {
199 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
212 nf.setCurrency(uCurrency, errorCode);
235 UErrorCode errorCode;
246 errorCode=U_ZERO_ERROR;
247 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode);
248 if(U_FAILURE(errorCode)) {
250 sampleLocaleIDs[i], u_errorName(errorCode));
259 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode);
261 setNumberFormatCurrency_2_4(*nf, sampleCurrencies[j], errorCode);
263 if(U_FAILURE(errorCode)) {
265 sampleCurrencies[j], u_errorName(errorCode));