ICU-565 Added new error codes

X-SVN-Rev: 2323
This commit is contained in:
Ram Viswanadha 2000-08-22 18:04:25 +00:00
parent 399746d246
commit 25f876129a
2 changed files with 6 additions and 2 deletions

View File

@ -1867,6 +1867,8 @@ _uErrorName[U_ERROR_LIMIT]={
"U_BUFFER_OVERFLOW_ERROR",
"U_UNSUPPORTED_ERROR",
"U_RESOURCE_TYPE_MISMATCH"
"U_ILLEGAL_ESCAPE_SEQUENCE"
"U_UNSUPPORTED_ESCAPE_SEQUENCE"
};
U_CAPI const char * U_EXPORT2

View File

@ -230,8 +230,10 @@ enum UErrorCode {
U_INVALID_TABLE_FILE = 14, /* Conversion table file not found*/
U_BUFFER_OVERFLOW_ERROR = 15, /* A result would not fit in the supplied buffer */
U_UNSUPPORTED_ERROR = 16, /* Requested operation not supported in current context */
U_RESOURCE_TYPE_MISMATCH = 17, /* an operation is requested over a resource that does not support it*/
U_ERROR_LIMIT
U_RESOURCE_TYPE_MISMATCH = 17, /* an operation is requested over a resource that does not support it*/
U_ILLEGAL_ESCAPE_SEQUENCE = 18, /* ISO-2022 illlegal escape sequence*/
U_UNSUPPORTED_ESCAPE_SEQUENCE = 19, /* ISO-2022 unsupported escape sequence*/
U_ERROR_LIMIT
};
#ifndef XP_CPLUSPLUS