ICU-1948 Added error code for circular aliases

X-SVN-Rev: 8933
This commit is contained in:
Vladimir Weinstein 2002-06-24 20:56:55 +00:00
parent 99a812aa09
commit 4aeef61dff
2 changed files with 5 additions and 2 deletions

View File

@ -1792,7 +1792,8 @@ _uErrorName[U_STANDARD_ERROR_LIMIT]={
"U_NO_SPACE_AVAILABLE",
"U_CE_NOT_FOUND_ERROR",
"U_PRIMARY_TOO_LONG_ERROR",
"U_STATE_TOO_OLD_ERROR"
"U_STATE_TOO_OLD_ERROR",
"U_TOO_MANY_ALIASES_ERROR"
};
static const char * const
_uFmtErrorName[U_FMT_PARSE_ERROR_LIMIT - U_FMT_PARSE_ERROR_START] = {

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (C) 1996-2001, International Business Machines
* Copyright (C) 1996-2002, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*
@ -411,6 +411,8 @@ enum UErrorCode {
U_CE_NOT_FOUND_ERROR = 21, /**< Currently used only while setting variable top, but can be used generally */
U_PRIMARY_TOO_LONG_ERROR = 22, /**< User tried to set variable top to a primary that is longer than two bytes */
U_STATE_TOO_OLD_ERROR = 23, /**< ICU cannot construct a service from this state, as it is no longer supported */
U_TOO_MANY_ALIASES_ERROR = 24, /**< There are too many aliases in the path to the requested resource.
< It is very possible that a circular alias definition has occured */
U_STANDARD_ERROR_LIMIT, /**< This must always be the last value to indicate the limit for standard errors */
/*
* the error code range 0x10000 0x10100 are reserved for Transliterator