Home | History | Annotate | Download | only in numfmt

Lines Matching full:errorcode

100  * @param errorCode ICU error code, must pass U_SUCCESS() on input.
103 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
105 if(U_FAILURE(errorCode)) {
109 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
118 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
163 errorCode=U_UNSUPPORTED_ERROR;
189 * @param errorCode ICU error code, must pass U_SUCCESS() on input.
192 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) {
193 if(U_FAILURE(errorCode)) {
197 errorCode=U_ILLEGAL_ARGUMENT_ERROR;
210 nf.setCurrency(uCurrency, errorCode);
233 UErrorCode errorCode;
244 errorCode=U_ZERO_ERROR;
245 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode);
246 if(U_FAILURE(errorCode)) {
248 sampleLocaleIDs[i], u_errorName(errorCode));
257 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode);
259 setNumberFormatCurrency_2_4(*nf, sampleCurrencies[j], errorCode);
261 if(U_FAILURE(errorCode)) {
263 sampleCurrencies[j], u_errorName(errorCode));