bt_rlp_result_codes.h File Reference

RLP specific result codes. More...

#include "bt_types.h"
#include "bt_result_codes.h"

Include dependency graph for bt_rlp_result_codes.h:

This graph shows which files directly or indirectly include this file:


Defines

#define BT_RLP_ERR_CHARSET_NOT_SUPPORTED   (BT_ERR_INTERNAL_ERROR_SPACE_START - 6)
 Specified charset inappropriate or invalid.
#define BT_RLP_ERR_INVALID_PROCESSOR_VERSION   (BT_ERR_INTERNAL_ERROR_SPACE_START - 2)
 Processor API version mismatch.
#define BT_RLP_ERR_LANGUAGE_NOT_SUPPORTED   (BT_ERR_INTERNAL_ERROR_SPACE_START - 4)
 Language is not supported by processor.
#define BT_RLP_ERR_NO_INPUT_PROCESSORS   (BT_ERR_INTERNAL_ERROR_SPACE_START - 1)
 No input processors have been defined.
#define BT_RLP_ERR_NO_LANGUAGE_PROCESSORS   BT_ERR_INTERNAL_ERROR_SPACE_START
 No language processors have been defined.
#define BT_RLP_ERR_NO_LICENSES_AVAILABLE   (BT_ERR_INTERNAL_ERROR_SPACE_START - 3)
 No license keys defined.
#define BT_RLP_ERR_REQUIRED_DATA_MISSING   (BT_ERR_INTERNAL_ERROR_SPACE_START - 5)
 Data required by the processor is missing.
#define BT_RLP_ERR_UNINITIALIZED_ENVIRONMENT   (BT_ERR_INTERNAL_ERROR_SPACE_START - 10)
 Environment has not been initialized.
#define BT_RLP_INVALID_INPUT_DATA   (BT_ERR_INTERNAL_ERROR_SPACE_START - 7)
 The input processor could not handle the input data.
#define BT_RLP_INVALID_RESULT_DATA_TYPE   (BT_ERR_INTERNAL_ERROR_SPACE_START - 9)
 Language processor asked for invalid result data.
#define BT_RLP_NO_ROOT_DIRECTORY   (BT_ERR_INTERNAL_ERROR_SPACE_START - 8)
 No setting of BT_ROOT.

Detailed Description

This file contains BT_Result codes that are specific to RLP.

Define Documentation

#define BT_RLP_ERR_CHARSET_NOT_SUPPORTED   (BT_ERR_INTERNAL_ERROR_SPACE_START - 6)

This error code is returned when the Unicode Converter is given a mime type that is not "text/plain" or given text that cannot be converted to Unicode.

#define BT_RLP_ERR_INVALID_PROCESSOR_VERSION   (BT_ERR_INTERNAL_ERROR_SPACE_START - 2)

This error code is returned when a processor's internal API version does not match the version required by the core RLP library. This can occur if the processor was written for an older version of RLP, or the processor is newer than the version of RLP being used.

#define BT_RLP_ERR_LANGUAGE_NOT_SUPPORTED   (BT_ERR_INTERNAL_ERROR_SPACE_START - 4)

This error code is returned when a processor does not support the language requested. This is not necessarily a error: a language processor can be called for a language it doesn't support in which case it will do nothing, returning this value.

#define BT_RLP_ERR_NO_INPUT_PROCESSORS   (BT_ERR_INTERNAL_ERROR_SPACE_START - 1)

This error code is returned when an input processor was not defined (or could be loaded) within a context. All contexts must define an input processor.

This error code is no longer returned; the concept of an input processor was removed in rlp 5.2.

#define BT_RLP_ERR_NO_LANGUAGE_PROCESSORS   BT_ERR_INTERNAL_ERROR_SPACE_START

This error code is returned when no languages processors have been defined (or could be loaded) within a context: A context must have at least one language processor to be valid.

#define BT_RLP_ERR_NO_LICENSES_AVAILABLE   (BT_ERR_INTERNAL_ERROR_SPACE_START - 3)

This error code is returned when there are no license keys defined. This can occur when the named license file exists but does not contain valid key values.

#define BT_RLP_ERR_REQUIRED_DATA_MISSING   (BT_ERR_INTERNAL_ERROR_SPACE_START - 5)

This error code is returned when a language processor requires data that is not available. For example, named entity extraction requires the input data to be POS tagged. If POS tags are not available then the NE language processor can return this value.

#define BT_RLP_ERR_UNINITIALIZED_ENVIRONMENT   (BT_ERR_INTERNAL_ERROR_SPACE_START - 10)

This error code is returned when the application attempts to create a context before initializing the environment.

#define BT_RLP_INVALID_INPUT_DATA   (BT_ERR_INTERNAL_ERROR_SPACE_START - 7)

This error code is returned when an input processor detects data which it cannot process. For example, an input processor for a specific file format returns this error when the data is not in the specified file format.

This error code is no longer returned; the concept of an input processor was removed in rlp 5.2.

#define BT_RLP_INVALID_RESULT_DATA_TYPE   (BT_ERR_INTERNAL_ERROR_SPACE_START - 9)

This internal error should never appear except when developing a new language processor. It indicates that the LP has asked the result builder to save a data type that it does not support.

#define BT_RLP_NO_ROOT_DIRECTORY   (BT_ERR_INTERNAL_ERROR_SPACE_START - 8)

This error code is returned when the application has not established a Basis root directory. Call BT_RLP_Environment::SetBTRootDirectory.


Copyright © 2004-2008 Basis Technology Corporation. All Rights Reserved.