/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2003, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
if(U_FAILURE(status)) {
delete en_us;
en_us = 0;
- errln("Collator creation failed with %s", u_errorName(status));
+ errcheckln(status, "Collator creation failed with %s", u_errorName(status));
return;
}
// Run all the way through the iterator, then get the offset
int32_t orderLength = 0;
- int32_t *orders = getOrders(*iter, orderLength);
+ Order *orders = getOrders(*iter, orderLength);
int32_t offset = iter->getOffset();
default: name = ""; break;
}
} else {
- errln("Class iterator not instantiated");
+ dataerrln("Class iterator not instantiated");
name = "";
}
}