List of Error Codes

Description

Error Codes

Error codes can be obtained by using the following macro for getting error codes.
// Error code mask
#define NJ_ERR_CODE_MASK      (0x7F00)

// Get error code
#define NJ_GET_ERR_CODE(x)    ((x) & NJ_ERR_CODE_MASK)
NameDescription
IN x Function return value.

Return Value
x Error Code

Error Codes

Error Code Name Value Description
NJ_ERR_PARAM_DIC_NULL 0x0000 NULL was specified for the dictionary set.
NJ_ERR_PARAM_READING_NULL 0x0100 NULL was specified in the input character string.
NJ_ERR_PARAM_READING_SIZE 0x0200 An invalid input character string size was specified.
NJ_ERR_PARAM_DIVISION 0x0300 An invalid division location was specified.
NJ_ERR_PARAM_ILLEGAL_LEVEL 0x0400 An illegal number of parsing phrases was specified.
NJ_ERR_PARAM_RESULT_NULL 0x0500 NULL was specified for result storage buffer.
NJ_ERR_READING_TOO_LONG 0x0600 A reading string longer than NJ_MAX_LEN was specified.
NJ_ERR_NO_PARTS_OF_SPEECH 0x0700 Could not get the part-of-speech number used for conversion.
NJ_ERR_NO_RULE_DIC 0x0800 A rule dictionary was not specified.
NJ_ERR_PARAM_OPERATION 0x0900 An invalid search method was specified.
NJ_ERR_PARAM_MODE 0x0A00 An invalid order for getting search candidates was specified.
NJ_ERR_PARAM_KANJI_NULL 0x0B00 NULL was specified for the kanji string.
NJ_ERR_CANDIDATE_TOO_LONG 0x0C00 The candidate is longer than NJ_MAX_RESULT_LEN.
NJ_ERR_PARAM_CURSOR_NULL 0x0D00 NULL was specified for the cursor.
NJ_ERR_DIC_TYPE_INVALID 0x0E00 An invalid dictionary type was specified.
NJ_ERR_DIC_HANDLE_NULL 0x0F00 NULL was specified for the dictionary handle.
NJ_ERR_FORMAT_INVALID 0x1000 The dictionary is corrupted.
NJ_ERR_NO_CANDIDATE_LIST 0x1100 There is no all candidate list.
NJ_ERR_NOT_CONVERTED 0x1200 The function for getting all candidates was called before conversion.
NJ_ERR_AREA_SIZE_INVALID 0x1300 An invalid dictionary size was specified.
NJ_ERR_BUFFER_NOT_ENOUGH 0x1400 The buffer size is insufficient.
NJ_ERR_PARTS_OF_SPEECH_GROUP_INVALID 0x1500 An invalid part-of-speech group was specified.
NJ_ERR_CREATE_TYPE_INVALID 0x1600 An invalid dictionary type was specified for generation.
NJ_ERR_WORD_INFO_NULL 0x1700 NULL was specified for registered word information.
NJ_ERR_DIC_NOT_FOUND 0x1800 The target dictionary was not found.
NJ_ERR_CANNOT_GET_QUEUE 0x1900 Could not get single-word information.
NJ_ERR_INVALID_FLAG 0x1A00 An invalid flag was specified.
NJ_ERR_INVALID_RESULT 0x1B00 The specified processing result is corrupted.
NJ_ERR_NOT_SELECT_YET 0x1C00 No previous selection information.
NJ_ERR_INTERNAL 0x1D00 Internal error (does not occur).
NJ_ERR_USER_READING_INVALID 0x1E00 An invalid reading string was specified when registering a word.
NJ_ERR_USER_CANDIDATE_INVALID 0x1F00 An invalid candidate string was specified when registering a word.
NJ_ERR_USER_DIC_FULL 0x2000 The user dictionary is full.
NJ_ERR_SAME_WORD 0x2100 The same word is registered in the user dictionary.
NJ_ERR_DIC_BROKEN 0x2200 The dictionary is corrupted.
NJ_ERR_CANNOT_RESTORE 0x2300 The dictionary cannot be restored.
NJ_ERR_WORD_NOT_FOUND 0x2400 The word to be deleted could not be found.
NJ_ERR_PARAM_NRM_NULL 0x2500 NULL was specified for the normal search result storage buffer.
NJ_ERR_PARAM_TYPE_INVALID 0x2600 An invalid part of speech attribute was specified.
NJ_ERR_PARAM_PROCESS_LEN_NULL 0x2700 NULL was specified for the string length to be parsed.
NJ_ERR_CANNOT_USE_MORPHOLIZE 0x2800 Cannot be used as morphological analysis results.
NJ_ERR_PARAM_ILLEGAL_LIMIT 0x2900 An illegal value was specified for the number of forward match prediction candidates to be obtained.
NJ_ERR_DIC_VERSION_INVALID 0x2A00 Invalid dictionary version.
NJ_ERR_DIC_FREQUENCY_INVALID 0x2B00 Invalid dictionary frequency setting.
NJ_ERR_CACHE_NOT_ENOUGH 0x2C00 The cache size is insufficient.
NJ_ERR_CACHE_BROKEN 0x2D00 The cache is corrupted.
NJ_ERR_PARAM_ENVIRONMENT_NULL 0x2E00 NULL was specified for an external variable (IWNN_CLASS).
NJ_ERR_PARAM_ANALYZE_OPTION_NULL 0x3100 NULL was specified for the prediction option.
NJ_ERR_PARAM_ILLEGAL_CHAR_LEN 0x3200 An illegal value was specified for the maximum or minimum number of reading characters.
NJ_ERR_PARAM_STATE_NULL 0x3300 NULL was specified for the state setting.
NJ_ERR_PARAM_SIZE_NULL 0x3400 NULL was specified for the retrieval size.
NJ_ERR_PARAM_INVALID_STATE 0x3500 An invalid value was specified for the state setting.
NJ_ERR_PROTECTION_ERR 0x3600 An attempt was made to access a protected area of the learning dictionary.
NJ_ERR_PARAM_INDEX_INVALID 0x3700 An invalid index was specified.
NJ_ERR_USER_ADDITIONAL_INVALID 0x3800 An invalid additional information string was specified when registering a word.
NJ_ERR_PARAM_ADD_INFO_NULL 0x3900 NULL was specified for the additional information region.
NJ_ERR_PARAM_ADD_INFO_INVALID_SIZE 0x3A00 0 was specified for the additional information memory region size.
NJ_ERR_PARAM_STREAM_NULL 0x3B00 NULL was specified for the file stream.
NJ_ERR_STREAM_SEEK_ERR 0x3C00 File stream SEEK resulted in an error.
NJ_ERR_STREAM_READ_ERR 0x3D00 File stream READ resulted in an error.
NJ_ERR_PARAM_NULL 0x3E00 NULL was specified in an argument.

CONFIDENTIAL