0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Enumerations | Functions
Hypertable::Error Namespace Reference

Enumerations

enum  Code {
  UNPOSSIBLE = -3, EXTERNAL = -2, FAILED_EXPECTATION = -1, OK = 0,
  PROTOCOL_ERROR = 1, REQUEST_TRUNCATED = 2, RESPONSE_TRUNCATED = 3, REQUEST_TIMEOUT = 4,
  LOCAL_IO_ERROR = 5, BAD_ROOT_LOCATION = 6, BAD_SCHEMA = 7, INVALID_METADATA = 8,
  BAD_KEY = 9, METADATA_NOT_FOUND = 10, HQL_PARSE_ERROR = 11, FILE_NOT_FOUND = 12,
  BLOCK_COMPRESSOR_UNSUPPORTED_TYPE = 13, BLOCK_COMPRESSOR_INVALID_ARG = 14, BLOCK_COMPRESSOR_TRUNCATED = 15, BLOCK_COMPRESSOR_BAD_HEADER = 16,
  BLOCK_COMPRESSOR_BAD_MAGIC = 17, BLOCK_COMPRESSOR_CHECKSUM_MISMATCH = 18, BLOCK_COMPRESSOR_DEFLATE_ERROR = 19, BLOCK_COMPRESSOR_INFLATE_ERROR = 20,
  BLOCK_COMPRESSOR_INIT_ERROR = 21, TABLE_NOT_FOUND = 22, MALFORMED_REQUEST = 23, TOO_MANY_COLUMNS = 24,
  BAD_DOMAIN_NAME = 25, COMMAND_PARSE_ERROR = 26, CONNECT_ERROR_MASTER = 27, CONNECT_ERROR_HYPERSPACE = 28,
  BAD_MEMORY_ALLOCATION = 29, BAD_SCAN_SPEC = 30, NOT_IMPLEMENTED = 31, VERSION_MISMATCH = 32,
  CANCELLED = 33, SCHEMA_PARSE_ERROR = 34, SYNTAX_ERROR = 35, DOUBLE_UNGET = 36,
  EMPTY_BLOOMFILTER = 37, BLOOMFILTER_CHECKSUM_MISMATCH = 38, NAME_ALREADY_IN_USE = 39, NAMESPACE_DOES_NOT_EXIST = 40,
  BAD_NAMESPACE = 41, NAMESPACE_EXISTS = 42, NO_RESPONSE = 43, NOT_ALLOWED = 44,
  INDUCED_FAILURE = 45, SERVER_SHUTTING_DOWN = 46, LOCATION_UNASSIGNED = 47, ALREADY_EXISTS = 48,
  CHECKSUM_MISMATCH = 49, CLOSED = 50, RANGESERVER_NOT_FOUND = 51, CONNECTION_NOT_INITIALIZED = 52,
  DUPLICATE_RANGE = 53, INVALID_PSEUDO_TABLE_NAME = 54, BAD_FORMAT = 55, INVALID_ARGUMENT = 56,
  INVALID_OPERATION = 57, UNSUPPORTED_OPERATION = 58, COLUMN_FAMILY_NOT_FOUND = 59, NOTHING_TO_DO = 60,
  INCOMPATIBLE_OPTIONS = 61, BAD_VALUE = 62, SCHEMA_GENERATION_MISMATCH = 63, INVALID_METHOD_IDENTIFIER = 64,
  SERVER_NOT_READY = 65, CONFIG_BAD_ARGUMENT = 1001, CONFIG_BAD_CFG_FILE = 1002, CONFIG_GET_ERROR = 1003,
  CONFIG_BAD_VALUE = 1004, COMM_NOT_CONNECTED = 0x00010001, COMM_BROKEN_CONNECTION = 0x00010002, COMM_CONNECT_ERROR = 0x00010003,
  COMM_ALREADY_CONNECTED = 0x00010004, COMM_SEND_ERROR = 0x00010006, COMM_RECEIVE_ERROR = 0x00010007, COMM_POLL_ERROR = 0x00010008,
  COMM_CONFLICTING_ADDRESS = 0x00010009, COMM_SOCKET_ERROR = 0x0001000A, COMM_BIND_ERROR = 0x0001000B, COMM_LISTEN_ERROR = 0x0001000C,
  COMM_HEADER_CHECKSUM_MISMATCH = 0x0001000D, COMM_PAYLOAD_CHECKSUM_MISMATCH = 0x0001000E, COMM_BAD_HEADER = 0x0001000F, COMM_INVALID_PROXY = 0x00010010,
  FSBROKER_BAD_FILE_HANDLE = 0x00020001, FSBROKER_IO_ERROR = 0x00020002, FSBROKER_FILE_NOT_FOUND = 0x00020003, FSBROKER_BAD_FILENAME = 0x00020004,
  FSBROKER_PERMISSION_DENIED = 0x00020005, FSBROKER_INVALID_ARGUMENT = 0x00020006, FSBROKER_INVALID_CONFIG = 0x00020007, FSBROKER_EOF = 0x00020008,
  HYPERSPACE_IO_ERROR = 0x00030001, HYPERSPACE_CREATE_FAILED = 0x00030002, HYPERSPACE_FILE_NOT_FOUND = 0x00030003, HYPERSPACE_ATTR_NOT_FOUND = 0x00030004,
  HYPERSPACE_DELETE_ERROR = 0x00030005, HYPERSPACE_BAD_PATHNAME = 0x00030006, HYPERSPACE_PERMISSION_DENIED = 0x00030007, HYPERSPACE_EXPIRED_SESSION = 0x00030008,
  HYPERSPACE_FILE_EXISTS = 0x00030009, HYPERSPACE_IS_DIRECTORY = 0x0003000A, HYPERSPACE_INVALID_HANDLE = 0x0003000B, HYPERSPACE_REQUEST_CANCELLED = 0x0003000C,
  HYPERSPACE_MODE_RESTRICTION = 0x0003000D, HYPERSPACE_ALREADY_LOCKED = 0x0003000E, HYPERSPACE_LOCK_CONFLICT = 0x0003000F, HYPERSPACE_NOT_LOCKED = 0x00030010,
  HYPERSPACE_BAD_ATTRIBUTE = 0x00030011, HYPERSPACE_BERKELEYDB_ERROR = 0x00030012, HYPERSPACE_DIR_NOT_EMPTY = 0x00030013, HYPERSPACE_BERKELEYDB_DEADLOCK = 0x00030014,
  HYPERSPACE_BERKELEYDB_REP_HANDLE_DEAD = 0x00030015, HYPERSPACE_FILE_OPEN = 0x00030016, HYPERSPACE_CLI_PARSE_ERROR = 0x00030017, HYPERSPACE_CREATE_SESSION_FAILED = 0x00030018,
  HYPERSPACE_NOT_MASTER_LOCATION = 0x00030019, HYPERSPACE_STATEDB_ERROR = 0x0003001A, HYPERSPACE_STATEDB_DEADLOCK = 0x0003001B, HYPERSPACE_STATEDB_BAD_KEY = 0x0003001C,
  HYPERSPACE_STATEDB_BAD_VALUE = 0x0003001D, HYPERSPACE_STATEDB_ALREADY_DELETED = 0x0003001E, HYPERSPACE_STATEDB_EVENT_EXISTS = 0x0003001F, HYPERSPACE_STATEDB_EVENT_NOT_EXISTS = 0x00030020,
  HYPERSPACE_STATEDB_EVENT_ATTR_NOT_FOUND = 0x00030021, HYPERSPACE_STATEDB_SESSION_EXISTS = 0x00030022, HYPERSPACE_STATEDB_SESSION_NOT_EXISTS = 0x00030023, HYPERSPACE_STATEDB_SESSION_ATTR_NOT_FOUND = 0x00030024,
  HYPERSPACE_STATEDB_HANDLE_EXISTS = 0x00030025, HYPERSPACE_STATEDB_HANDLE_NOT_EXISTS = 0x00030026, HYPERSPACE_STATEDB_HANDLE_ATTR_NOT_FOUND = 0x00030027, HYPERSPACE_STATEDB_NODE_EXISTS = 0x00030028,
  HYPERSPACE_STATEDB_NODE_NOT_EXISTS = 0x00030029, HYPERSPACE_STATEDB_NODE_ATTR_NOT_FOUND = 0x0003002A, HYPERSPACE_VERSION_MISMATCH = 0x00030030, MASTER_TABLE_EXISTS = 0x00040001,
  MASTER_BAD_SCHEMA = 0x00040002, MASTER_NOT_RUNNING = 0x00040003, MASTER_NO_RANGESERVERS = 0x00040004, MASTER_FILE_NOT_LOCKED = 0x00040005,
  MASTER_RANGESERVER_ALREADY_REGISTERED = 0x00040006, MASTER_BAD_COLUMN_FAMILY = 0x00040007, MASTER_SCHEMA_GENERATION_MISMATCH = 0x00040008, MASTER_LOCATION_ALREADY_ASSIGNED = 0x00040009,
  MASTER_LOCATION_INVALID = 0x0004000A, MASTER_OPERATION_IN_PROGRESS = 0x0004000B, MASTER_RANGESERVER_IN_RECOVERY = 0x0004000C, MASTER_BALANCE_PREVENTED = 0x0004000D,
  RANGESERVER_GENERATION_MISMATCH = 0x00050001, RANGESERVER_RANGE_ALREADY_LOADED = 0x00050002, RANGESERVER_RANGE_MISMATCH = 0x00050003, RANGESERVER_NONEXISTENT_RANGE = 0x00050004,
  RANGESERVER_OUT_OF_RANGE = 0x00050005, RANGESERVER_RANGE_NOT_FOUND = 0x00050006, RANGESERVER_INVALID_SCANNER_ID = 0x00050007, RANGESERVER_SCHEMA_PARSE_ERROR = 0x00050008,
  RANGESERVER_SCHEMA_INVALID_CFID = 0x00050009, RANGESERVER_INVALID_COLUMNFAMILY = 0x0005000A, RANGESERVER_TRUNCATED_COMMIT_LOG = 0x0005000B, RANGESERVER_NO_METADATA_FOR_RANGE = 0x0005000C,
  RANGESERVER_SHUTTING_DOWN = 0x0005000D, RANGESERVER_CORRUPT_COMMIT_LOG = 0x0005000E, RANGESERVER_UNAVAILABLE = 0x0005000F, RANGESERVER_REVISION_ORDER_ERROR = 0x00050010,
  RANGESERVER_ROW_OVERFLOW = 0x00050011, RANGESERVER_TABLE_NOT_FOUND = 0x00050012, RANGESERVER_BAD_SCAN_SPEC = 0x00050013, RANGESERVER_CLOCK_SKEW = 0x00050014,
  RANGESERVER_BAD_CELLSTORE_FILENAME = 0x00050015, RANGESERVER_CORRUPT_CELLSTORE = 0x00050016, RANGESERVER_TABLE_DROPPED = 0x00050017, RANGESERVER_UNEXPECTED_TABLE_ID = 0x00050018,
  RANGESERVER_RANGE_BUSY = 0x00050019, RANGESERVER_BAD_CELL_INTERVAL = 0x0005001A, RANGESERVER_SHORT_CELLSTORE_READ = 0x0005001B, RANGESERVER_RANGE_NOT_ACTIVE = 0x0005001C,
  RANGESERVER_FRAGMENT_ALREADY_PROCESSED = 0x0005001D, RANGESERVER_RECOVERY_PLAN_GENERATION_MISMATCH = 0x0005001E, RANGESERVER_PHANTOM_RANGE_MAP_NOT_FOUND = 0x0005001F, RANGESERVER_RANGES_ALREADY_LIVE = 0x00050020,
  RANGESERVER_RANGE_NOT_YET_ACKNOWLEDGED = 0x00050021, RANGESERVER_SERVER_IN_READONLY_MODE = 0x00050022, RANGESERVER_RANGE_NOT_YET_RELINQUISHED = 0x00050023, HQL_BAD_LOAD_FILE_FORMAT = 0x00060001,
  HQL_BAD_COMMAND = 0x00060002, METALOG_ERROR = 0x00070000, METALOG_VERSION_MISMATCH = 0x00070001, METALOG_BAD_RS_HEADER = 0x00070002,
  METALOG_BAD_HEADER = 0x00070003, METALOG_ENTRY_TRUNCATED = 0x00070004, METALOG_CHECKSUM_MISMATCH = 0x00070005, METALOG_ENTRY_BAD_TYPE = 0x00070006,
  METALOG_ENTRY_BAD_ORDER = 0x00070007, METALOG_MISSING_RECOVER_ENTITY = 0x00070008, METALOG_BACKUP_FILE_MISMATCH = 0x00070009, METALOG_READ_ERROR = 0x0007000A,
  SERIALIZATION_INPUT_OVERRUN = 0x00080001, SERIALIZATION_BAD_VINT = 0x00080002, SERIALIZATION_BAD_VSTR = 0x00080003, SERIALIZATION_VERSION_MISMATCH = 0x00080004,
  THRIFTBROKER_BAD_SCANNER_ID = 0x00090001, THRIFTBROKER_BAD_MUTATOR_ID = 0x00090002, THRIFTBROKER_BAD_NAMESPACE_ID = 0x00090003, THRIFTBROKER_BAD_FUTURE_ID = 0x00090004
}
 

Functions

const char * get_text (int error)
 Returns a descriptive error message. More...
 
void generate_html_error_code_documentation (std::ostream &out)
 Generates and print the error documentation as html. More...
 

Function Documentation

void Hypertable::Error::generate_html_error_code_documentation ( std::ostream &  out)

Generates and print the error documentation as html.

Parameters
outThe ostream which is used for printing

Definition at line 337 of file Error.cc.

const char * Hypertable::Error::get_text ( int  error)

Returns a descriptive error message.

Parameters
errorThe error code
Returns
The descriptive error message of this code

Definition at line 330 of file Error.cc.