/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2003, International Business Machines Corporation and
+ * Copyright (c) 1997-2009, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
}
myCollation = new RuleBasedCollator(ruleset, status);
if(U_FAILURE(status)){
- errln("ERROR: in creation of rule based collator from ruleset");
+ errcheckln(status, "ERROR: in creation of rule based collator from ruleset - %s", u_errorName(status));
delete myCollation;
myCollation = 0;
}
default: name = ""; break;
}
} else {
- errln("Collator couldn't be instantiated!");
+ dataerrln("Collator couldn't be instantiated!");
name = "";
}
}