Classes | Defines | Enumerations | Functions | Variables

IVD Error Codes
[Common modules]

Collaboration diagram for IVD Error Codes:

Classes

struct  cmn_Literal_t

Defines

#define ivd_ERRORCODE_m(_module, _error)   ((_module)*1000 + (_error))
 Error codes are grouped by modules.

Enumerations

enum  ivd_ErrorModule_e {
  em_CMN = 0, em_RMDB = 1,
  em_CLIENT = 2, em_PARSER = 3,
  em_FILEIO = 4, em_CLI = 5,
  em_IPC = 6, em_DF = 7,
  em_MIF = 8, em_RM = 9,
  em_PM = 10, em_MED = 11,
  em_SCSI = 12, em_FSC = 13,
  em_BEA = 14, em_LA = 15,
  em_HSMDB = 16, em_BAK = 17,
  em_UI = 18
}
 

Definition of IVD error code constants.

More...
enum  ivd_ErrorCode_e {
  ie_SENTINEL = -1, ie_NO_ERROR = ie(em_CMN, 0),
  ie_SINGLETON_EXISTS = ie(em_CMN, 1), ie_FILE_ERROR = ie(em_CMN, 2),
  ie_OUTOFMEM = ie(em_CMN, 3), ie_INVALID_ARG = ie(em_CMN, 4),
  ie_DATA_CORRUPTION = ie(em_CMN, 5), ie_NYI = ie(em_CMN, 6),
  ie_STRING_TOO_LONG = ie(em_CMN, 7), ie_ARGUMENT_MISSING = ie(em_CMN, 8),
  ie_IMPOSSIBLE = ie(em_CMN, 9), ie_INV_FILE_NAME = ie(em_CMN, 10),
  ie_MUTEX = ie(em_CMN, 11), ie_ENV_VAR_NOT_SET = ie(em_CMN, 12),
  ie_UUID = ie(em_CMN, 13), ie_TIMEOUT = ie(em_CMN, 14),
  ie_NULLPTR = ie(em_CMN, 15), ie_INVALID_STRING = ie(em_CMN, 16),
  ie_UNKNOWN_TYPE = ie(em_CMN, 17), ie_STD_EXCEPTION = ie(em_CMN, 18),
  ie_ABORT = ie(em_CMN, 19), ie_NOT_SUPPORTED = ie(em_CMN, 20),
  ie_EXCEED_MAX_SIZE = ie(em_CMN, 21), ie_PRECONDITION = ie(em_CMN, 22),
  ie_PROCESS = ie(em_CMN, 23), ie_NOTFOUND = ie(em_CMN, 24),
  ie_CONNECTIVITY = ie(em_CMN, 25), ie_LOCALE = ie(em_CMN, 26),
  ie_ALREADY_IN_REORG = ie(em_CMN, 27), ie_NO_DISK_SPACE = ie(em_CMN, 28),
  ie_EXECUTION_ERROR = ie(em_CMN, 29), ie_FATAL_ERROR = ie(em_CMN, 999),
  ie_RMDB_ERROR = ie(em_RMDB, 0), ie_RMDB_INVALID_FK = ie(em_RMDB, 1),
  ie_RMDB_DUPL_UNIQUE = ie(em_RMDB, 2), ie_RMDB_CONNECTPROBLEM = ie(em_RMDB, 3),
  ie_RMDB_NOTFOUND = ie(em_RMDB, 4), ie_DRIVE_INDEX_DUPL = ie(em_RMDB, 5),
  ie_RM_ALLOC_DISKBUFF = ie(em_RMDB, 10), ie_NOJOBTYPE = ie(em_RM, 0),
  ie_NO_RESOURCE_FOUND = ie(em_RM, 1), ie_PARTSTATDUPL = ie(em_RM, 2),
  ie_PARTSTATNF = ie(em_RM, 3), ie_RELEASEERR = ie(em_RM, 4),
  ie_JOBNOTFOUND = ie(em_RM, 5), ie_INVALID_TBL_SIZE = ie(em_RM, 6),
  ie_NO_MIG_ID_INIT = ie(em_RM, 7), ie_JOB_NOT_FOUND = ie(em_PM, 0),
  ie_CFG_INVALID = ie(em_PM, 1), ie_NO_COPIES = ie(em_PM, 2),
  ie_JOB_REMOVED = ie(em_PM, 3), ie_JOB_FAILED = ie(em_PM, 4),
  ie_NO_SPACE_FOR_BUFFER = ie(em_PM, 5), ie_REGISTER_NOT_ALLOWED = ie(em_PM, 6),
  ie_VOL_NOT_FOUND = ie(em_PM, 7), ie_NO_FILES = ie(em_PM, 8),
  ie_NO_HSM = ie(em_PM,10), ie_LOST_HSM = ie(em_PM,11),
  ie_NOINSERT = ie(em_CLIENT, 0), ie_NOFINDOBJ = ie(em_CLIENT, 1),
  ie_EMPTYLIST = ie(em_CLIENT, 2), ie_NOTYPE = ie(em_CLIENT, 3),
  ie_HSM_NOEVENT = ie(em_CLIENT, 4), ie_HSM_OBJEXIST = ie(em_CLIENT, 5),
  ie_HSM_NOINSTANCE = ie(em_CLIENT, 6), ie_HSM_NOINODE = ie(em_CLIENT, 7),
  ie_HSM_NODEVFILE = ie(em_CLIENT, 8), ie_HSM_NOJOBLIST = ie(em_CLIENT, 9),
  ie_HSM_NOHASH = ie(em_CLIENT, 10), ie_HSM_NOFILEID = ie(em_CLIENT, 11),
  ie_HSM_WRONGCONF = ie(em_CLIENT, 12), ie_ERRORREAD = ie(em_CLIENT, 13),
  ie_ERRORWRITE = ie(em_CLIENT, 14), ie_NOMOUNT = ie(em_CLIENT, 15),
  ie_STLNOTERASED = ie(em_CLIENT, 16), ie_HSM_INVLIST = ie(em_CLIENT, 17),
  ie_HSM_NOFILENAME = ie(em_CLIENT, 18), ie_HSM_NOJOBIDX = ie(em_CLIENT, 19),
  ie_HSM_NOIFILE = ie(em_CLIENT, 20), ie_HSM_OTHERLIST = ie(em_CLIENT, 21),
  ie_HSM_INVPATH = ie(em_CLIENT, 22), ie_HSM_LONG_INO_LOCK = ie(em_CLIENT, 23),
  ie_HSM_NOTDIRTY = ie(em_CLIENT, 24), ie_HSM_INODE_LOCK = ie(em_CLIENT, 25),
  ie_HSM_INVTYPE = ie(em_CLIENT, 26), ie_HSM_INVJOBIDX = ie(em_CLIENT, 27),
  ie_HSM_INVJOBELEMIDX = ie(em_CLIENT, 28), ie_HSM_NOTREADY = ie(em_CLIENT, 29),
  ie_FSE_MOUNT_PENDING = ie(em_CLIENT, 30), ie_FSE_NO_PREMOUNT = ie(em_CLIENT, 31),
  ie_FSE_MOUNT_EXISTS = ie(em_CLIENT, 32), ie_HSM_INVJOBSTATUS = ie(em_CLIENT, 33),
  ie_HSM_IVDFS_RECOVERY = ie(em_CLIENT, 34), ie_FSE_VOL_NOTEXISTS = ie(em_CLIENT, 35),
  ie_FSE_HSM_EXISTS = ie(em_CLIENT, 36), ie_FSE_VOL_DISABLED = ie(em_CLIENT, 37),
  ie_FSE_NTFS_ATTACHED = ie(em_CLIENT, 38), ie_HSM_MULTIPLE_ID = ie(em_CLIENT, 39),
  ie_HSM_COLLOCATION = ie(em_CLIENT, 40), ie_HSM_MIG_RUNNING = ie(em_CLIENT, 41),
  ie_HSM_EXCLUSIVE_FLAG = ie(em_CLIENT, 42), ie_OTHER_HSM = ie(em_CLIENT, 99),
  ie_PARSER_ERROR = ie(em_PARSER, 0), ie_UNKNOWN_VAR = ie(em_PARSER, 1),
  ie_NO_SUBGROUP = ie(em_PARSER, 2), ie_NOT_VALID = ie(em_PARSER, 3),
  ie_TYPE_NF = ie(em_PARSER, 4), ie_MISSING_VAR = ie(em_PARSER, 5),
  ie_TOO_MANY_VAR = ie(em_PARSER, 6), ie_AP_NOTENOUGH = ie(em_PARSER, 100),
  ie_AP_SYNERR = ie(em_PARSER, 101), ie_AP_NOOPTION = ie(em_PARSER, 102),
  ie_AP_INVARGTYPE = ie(em_PARSER, 201), ie_AP_ALREADYEXIST = ie(em_PARSER, 202),
  ie_AP_INVGROUPTYPE = ie(em_PARSER, 203), ie_RECORD_TOO_LARGE = ie(em_FILEIO, 0),
  ie_RECORD_TOO_SMALL = ie(em_FILEIO, 1), ie_REL_FILE_HEADER_INV = ie(em_FILEIO, 2),
  ie_REL_FILE_INDEX_INV = ie(em_FILEIO, 3), ie_REL_FILE_VEC_SIZE_INV = ie(em_FILEIO, 4),
  ie_TRANSACTION_NOT_STARTED = ie(em_FILEIO, 5), ie_DUPLICATE_REL_FILE_ID = ie(em_FILEIO, 7),
  ie_REL_FILE_NO_TRANS_OBJ = ie(em_FILEIO, 8), ie_INV_ALTERATION = ie(em_FILEIO, 9),
  ie_INV_ENDTRANS_T_VERSION = ie(em_FILEIO,10), ie_INV_STARTTRANS_T_VERSION = ie(em_FILEIO,11),
  ie_INV_ALTER_T_VERSION = ie(em_FILEIO,12), ie_NOT_ENDTRANS_T = ie(em_FILEIO,13),
  ie_NOT_STARTTRANS_T = ie(em_FILEIO,14), ie_NOT_ALTER_T = ie(em_FILEIO,15),
  ie_INV_TRANSACTION = ie(em_FILEIO,16), ie_REL_FILE_TRAN_NULL_DB = ie(em_FILEIO,17),
  ie_TRANS_TO_MUCH_INSTANCES = ie(em_FILEIO,18), ie_PERM_DB_INFO_HEADER_INV = ie(em_FILEIO,19),
  ie_TRANS_EXCEED_JOUR_SPACE = ie(em_FILEIO,20), ie_UV_NOT_IN_BUFFER = ie(em_FILEIO,21),
  ie_INV_UNUSED_VECT_STRUCT = ie(em_FILEIO,22), ie_INV_HEADER_POSITION = ie(em_FILEIO,23),
  ie_CIR_FILE_HEADER_INV = ie(em_FILEIO,24), ie_INV_JOUR_FILE_HEADER = ie(em_FILEIO,25),
  ie_READ_AFTER_EOF = ie(em_FILEIO,26), ie_JOUR_FILE_MISSING = ie(em_FILEIO,27),
  ie_UV_ALREADY_IN_BUFFER = ie(em_FILEIO,28), ie_IPC_ORB = ie(em_IPC, 0),
  ie_IPC_NAMESERVICE = ie(em_IPC, 1), ie_IPC_RESOLVE = ie(em_IPC, 2),
  ie_IPC_REGISTER = ie(em_IPC, 3), ie_IPC_ORB_EXCEPTION = ie(em_IPC, 4),
  ie_IPC_OBJ_ACTIVE = ie(em_IPC, 5), ie_IPC_UNKNOWN_ORB_EXCEPTION = ie(em_IPC, 6),
  ie_IPC_UNKNOWN_IVD_EXCEPTION = ie(em_IPC, 7), ie_IPC_MIF = ie(em_IPC, 8),
  ie_IPC_UIMS = ie(em_IPC, 9), ie_IPC_ANY_TYPE = ie(em_IPC, 10),
  ie_IPC_FATAL = ie(em_IPC, 999), ie_MIF_LA_PROBLEM = ie(em_MIF, 4),
  ie_MIF_BEA_PROBLEM = ie(em_MIF, 5), ie_MIF_RM_PROBLEM = ie(em_MIF, 6),
  ie_MIF_UIPACKER = ie(em_MIF, 7), ie_MIF_PARTITION_MGR = ie(em_MIF, 8),
  ie_REMOVE_ERROR = ie(em_MIF, 9), ie_UPDATE_ERROR = ie(em_MIF, 10),
  ie_SELECT_ERROR = ie(em_MIF, 11), ie_SEMANTIC_ERROR = ie(em_MIF, 12),
  ie_SYNTAX_ERROR = ie(em_MIF, 13), ie_UNKNOWN_STATUS = ie(em_MIF, 14),
  ie_MED_VOL_HDR_EXISTS = ie(em_MIF, 15), ie_MEDIUM_PARTITIONED = ie(em_MIF, 16),
  ie_MEDIUM_UNKNOWNPOOL = ie(em_MIF, 17), ie_MIF_CFG_CONFIG_FILE_UNKNOWN = ie(em_MIF, 50),
  ie_MIF_CFG_REVISION_OUT_OF_RANGE = ie(em_MIF, 51), ie_MIF_CFG_REVISION_NONEXISTENT = ie(em_MIF, 52),
  ie_MIF_CFG_TROUBLE_IN_REPOSITORY = ie(em_MIF, 53), ie_MIF_CFG_ALREADY_CONFIGURED = ie(em_MIF, 54),
  ie_MIF_CFG_RENAMING_NOT_ALLOWED_YET = ie(em_MIF, 55), ie_MIF_CFG_ILLEGAL_NAME = ie(em_MIF, 56),
  ie_MIF_CFG_SEMANTIC_ERROR = ie(em_MIF, 57), ie_MIF_CFG_SYNTAX_ERROR = ie(em_MIF, 58),
  ie_MIF_CFG_HEADER_ERROR = ie(em_MIF, 59), ie_MIF_CFG_UNKNOWN_ERROR = ie(em_MIF, 60),
  ie_DF_BLOCKFULL = ie(em_DF, 0), ie_DF_INV_BLK = ie(em_DF, 2),
  ie_DF_CLOSED = ie(em_DF, 3), ie_DF_EOD = ie(em_DF, 4),
  ie_DF_INVSTATE = ie(em_DF, 5), ie_DF_INVSEQ = ie(em_DF, 6),
  ie_DF_INVBLKCOOKIE = ie(em_DF, 7), ie_DF_INVRECCOOKIE = ie(em_DF, 8),
  ie_DF_INVBLKSEQNUM = ie(em_DF, 9), ie_DF_INVRECSEQNUM = ie(em_DF, 10),
  ie_DF_INVSTREAMFMT = ie(em_DF, 11), ie_DF_HDRCORRUPT = ie(em_DF, 12),
  ie_DF_WRITER_UP = ie(em_DF, 13), ie_DF_SSIZE = ie(em_DF, 14),
  ie_DF_RETHROWN = ie(em_DF, 15), ie_DF_LIM_STREAM_MISSING = ie(em_DF, 16),
  ie_DF_BROKEN_PIPE = ie(em_DF, 17), ie_MEDIUM_BLANK = ie(em_MED, 1),
  ie_MEDIUM_EOD = ie(em_MED, 2), ie_MEDIUM_EOM = ie(em_MED, 3),
  ie_MEDIUM_FILEMARK = ie(em_MED, 4), ie_MEDIUM_OVERFLOW = ie(em_MED, 5),
  ie_MEDIUM_PROTECTED = ie(em_MED, 6), ie_MEDIUM_ILENGTH = ie(em_MED, 7),
  ie_MEDIUM_MEDERR = ie(em_MED, 8), ie_MEDIUM_HWERR = ie(em_MED, 9),
  ie_SCSI_STATUS = ie(em_SCSI, 0), ie_SCSI_SENSE = ie(em_SCSI, 10),
  ie_SCSI_NOT_READY = ie(em_SCSI, 11), ie_SCSI_MEDERR = ie_MEDIUM_MEDERR,
  ie_SCSI_HWERR = ie_MEDIUM_HWERR, ie_SCSI_UNIT_ATT = ie(em_SCSI, 14),
  ie_SCSI_PROTECTED = ie_MEDIUM_PROTECTED, ie_SCSI_BLANK = ie_MEDIUM_BLANK,
  ie_SCSI_EOD = ie_MEDIUM_EOD, ie_SCSI_EOM = ie_MEDIUM_EOM,
  ie_SCSI_FILEMARK = ie_MEDIUM_FILEMARK, ie_SCSI_ILENGTH = ie_MEDIUM_ILENGTH,
  ie_SCSI_OVERFLOW = ie_MEDIUM_OVERFLOW, ie_SCSI_ILREQ = ie(em_SCSI, 22),
  ie_SCSI_NO_MEDIUM = ie(em_SCSI, 23), ie_SCSI_DESTFULL = ie(em_SCSI, 24),
  ie_SCSI_SRCEMPTY = ie(em_SCSI, 25), ie_SCSI_RETRY = ie(em_SCSI, 50),
  ie_SCSI_OPEN = ie(em_SCSI, 51), ie_SCSI_CLOSE = ie(em_SCSI, 52),
  ie_SCSI_DRIVER = ie(em_SCSI, 53), ie_SCSI_HOST = ie(em_SCSI, 54),
  ie_SCSI_INVRESULT = ie(em_SCSI, 55), ie_FSC_INV_DATA_TYPE = ie(em_FSC, 0),
  ie_FSC_INV_SPLIT_INFO = ie(em_FSC, 1), ie_FSC_TOO_MUCH_COPIES = ie(em_FSC, 2),
  ie_FSC_NOCOPIES = ie(em_FSC, 3), ie_FSC_TOOHIGH_MEDVOLNUM = ie(em_FSC, 4),
  ie_FSC_NO_MEDVOLFILE = ie(em_FSC, 5), ie_FSC_CHANGEONCHAGE = ie(em_FSC, 6),
  ie_FSC_INV_GENERATION_NUM = ie(em_FSC, 7), ie_FSC_NODATA = ie(em_FSC, 8),
  ie_FSC_NONSCELEMENTOBJ = ie(em_FSC, 9), ie_FSC_NOTREADY = ie(em_FSC, 10),
  ie_FSC_ERROR = ie(em_FSC, 11), ie_BEA_INVPOS = ie(em_BEA, 0),
  ie_BEA_INVVOLFMT = ie(em_BEA, 1), ie_BEA_INVVOLID = ie(em_BEA, 2),
  ie_BEA_INVDEVTYPE = ie(em_BEA, 3), ie_BEA_MICSIZE = ie(em_BEA, 10),
  ie_BEA_MICCONTENTS = ie(em_BEA, 11), ie_BEA_INIT = ie(em_BEA, 12),
  ie_BEA_FORMAT = ie(em_BEA, 13), ie_BEA_HWID = ie(em_BEA, 14),
  ie_BEA_WORM = ie(em_BEA, 15), ie_BEA_FRI = ie(em_BEA, 16),
  ie_LA_INVDEVTYPE = ie(em_LA, 0), ie_LA_INVBARCODE = ie(em_LA, 1),
  ie_LA_OPEN = ie(em_LA, 2), ie_LA_OUTOFRANGE = ie(em_LA, 3),
  ie_LA_UNCONFIGURED = ie(em_LA, 4), ie_LA_MOUNTDENY = ie(em_LA, 5),
  ie_LA_UNSUPPORTED = ie(em_LA, 6), ie_HSMDB_ERROR = ie(em_HSMDB, 0),
  ie_BAK_SUSPEND = ie(em_BAK, 0), ie_BAK_CONTINUE = ie(em_BAK, 1),
  ie_NO_CONFIRM = ie(em_UI, 1)
}

Functions

const char * ivd_GetErrorText (const long a_errorCode)
 Convert IVD error code to its textual description.
const char * ivd_FindLiteralByVal (Int32_t a_val, const cmn_Literal_t *a_lit)
 Helper inline functions.
UInt32_t ivd_FindLiteralByStr (const string &a_str, cmn_Literal_t *a_lit)
string ivd_BitFlagToText (Int32_t a_val, cmn_Literal_t *a_lit)
const char * ivd_LibraryTypeToText (ivd_LibraryType_e a_val)
ivd_LibraryType_e ivd_LibraryType (const string &a_str)
string ivd_LibraryStatusToText (ivd_LibraryStatus_e a_val)
string ivd_SlotStatusToText (ivd_SlotStatus_e a_val)
string ivd_DriveStatusToText (ivd_DriveStatus_e a_val)
const char * ivd_MediaFamilyToText (ivd_MediaFamily_e a_val)
ivd_MediaFamily_e ivd_MediaFamily (const string &a_str)
const char * ivd_MediaTypeToText (ivd_MediaType_e a_val)
ivd_MediaType_e ivd_MediaType (const string &a_str)
ivd_MediaFamily_e ivd_MediaTypeToFamily (ivd_MediaType_e a_val)
string ivd_MediumStatusToText (ivd_MediumStatus_e a_val)
const char * ivd_VolTypeToText (ivd_VolType_e a_val)
const char * ivd_NotApplicableToText ()
string ivd_MediaVolStatusToText (ivd_MediaVolStatus_e a_val)
const char * ivd_PoolTypeToText (ivd_PoolType_e a_val)
ivd_PoolType_e ivd_PoolType (const string &a_str)
const char * ivd_SysVolLocationToText (ivd_SysVolLocation_e a_val)
ivd_SysVolLocation_e ivd_SysVolLocation (const string &a_str)
const char * ivd_FSTypeToText (ivd_FSType_e a_val)
ivd_FSType_e ivd_FSType (const string &a_str)
ivd_FSType_e GetFSType (Int32_t a_bitMap)
void SetFSType (ivd_FSType_e a_fsType, Int32_t &a_bitMap)
string ivd_PartitionOptionsToText (const UInt32_t a_val)
void SetPartitionOptions (Int32_t &a_options, void *a_cfgPMClient_p)
const char * ivd_DriveCapabToText (ivd_DriveCapab_e a_val)
ivd_DriveCapab_e ivd_DriveCapab (const string &a_str)
const char * ivd_SlotTypeToText (ivd_SlotType_e a_val)
ivd_SlotType_e ivd_SlotType (const string &a_str)
string ivd_PartitionStatusToText (ivd_PartitionStatus_e a_val)
string ivd_PartitionActivityToText (ivd_PartitionActivity_e a_val)
string ivd_JobStatusToText (ivd_JobStatus_e a_val)
string ivd_JobTypeToText (ivd_JobType_e a_val)
string ivd_BeaStatusToText (ivd_BeaStatus_e a_val)

Variables

static cmn_ErrorCode_t g_errorCodeTable []
 Global table of IVD specific error codes and it's textual representations.
static cmn_Literal_t g_libraryTypeTable []
 LibraryType.
static cmn_Literal_t g_libraryStatusTable []
 Library Status.
static cmn_Literal_t g_SlotStatusTable []
 Slot Status.
static cmn_Literal_t g_driveStatusTable []
 Drive Status.
static cmn_Literal_t g_mediaFamilyTable []
 MediaFamily.
static cmn_Literal_t g_mediaTypeTable []
 MediaType.
static cmn_Literal_t g_mediumStatusTable []
 Medium Status.
static cmn_Literal_t g_VolTypeTable []
static cmn_Literal_t g_MediaVolStatusTable []
 MediaVol Status.
static cmn_Literal_t g_poolTypeTable []
 PoolType.
static cmn_Literal_t g_sysVolLocationTable []
 SysVolLocation.
static cmn_Literal_t g_fsTypeTable []
 FSType.
static cmn_Literal_t g_partitionoptionsTable []
 Partition options.
static cmn_Literal_t g_driveCapabTable []
 DriveCapab.
static cmn_Literal_t g_slotTypeTable []
 SlotType.
static cmn_Literal_t g_PartitionStatusTable []
 Partition Status.
static cmn_Literal_t g_PartitionActivityTable []
 Partition Activity.
static cmn_Literal_t g_JobStatusTable []
 Job Status.
static cmn_Literal_t g_JobTypeTable []
 Job Type.
static cmn_Literal_t g_BeaStatusTable []
 Bea status.

Define Documentation

#define ivd_ERRORCODE_m (   _module,
  _error 
)    ((_module)*1000 + (_error))

Error codes are grouped by modules.

Each module has 1000 error codes reserved for its purposes. This macro composes the error code.

Definition at line 72 of file errorcodes.h.


Enumeration Type Documentation

Enumerator:
ie_SENTINEL 

Not an error code. Used for internal purposes.

ie_NO_ERROR 

Everything is OK.

ie_SINGLETON_EXISTS 
ie_FILE_ERROR 
ie_OUTOFMEM 
ie_INVALID_ARG 
ie_DATA_CORRUPTION 
ie_NYI 
ie_STRING_TOO_LONG 
ie_ARGUMENT_MISSING 
ie_IMPOSSIBLE 
ie_INV_FILE_NAME 
ie_MUTEX 
ie_ENV_VAR_NOT_SET 
ie_UUID 
ie_TIMEOUT 
ie_NULLPTR 
ie_INVALID_STRING 
ie_UNKNOWN_TYPE 
ie_STD_EXCEPTION 
ie_ABORT 
ie_NOT_SUPPORTED 
ie_EXCEED_MAX_SIZE 
ie_PRECONDITION 
ie_PROCESS 
ie_NOTFOUND 
ie_CONNECTIVITY 
ie_LOCALE 
ie_ALREADY_IN_REORG 
ie_NO_DISK_SPACE 
ie_EXECUTION_ERROR 
ie_FATAL_ERROR 
ie_RMDB_ERROR 
ie_RMDB_INVALID_FK 
ie_RMDB_DUPL_UNIQUE 
ie_RMDB_CONNECTPROBLEM 
ie_RMDB_NOTFOUND 
ie_DRIVE_INDEX_DUPL 
ie_RM_ALLOC_DISKBUFF 
ie_NOJOBTYPE 
ie_NO_RESOURCE_FOUND 
ie_PARTSTATDUPL 
ie_PARTSTATNF 
ie_RELEASEERR 
ie_JOBNOTFOUND 
ie_INVALID_TBL_SIZE 
ie_NO_MIG_ID_INIT 
ie_JOB_NOT_FOUND 
ie_CFG_INVALID 
ie_NO_COPIES 
ie_JOB_REMOVED 
ie_JOB_FAILED 
ie_NO_SPACE_FOR_BUFFER 
ie_REGISTER_NOT_ALLOWED 
ie_VOL_NOT_FOUND 
ie_NO_FILES 
ie_NO_HSM 
ie_LOST_HSM 
ie_NOINSERT 
ie_NOFINDOBJ 
ie_EMPTYLIST 
ie_NOTYPE 
ie_HSM_NOEVENT 
ie_HSM_OBJEXIST 
ie_HSM_NOINSTANCE 
ie_HSM_NOINODE 
ie_HSM_NODEVFILE 
ie_HSM_NOJOBLIST 
ie_HSM_NOHASH 
ie_HSM_NOFILEID 
ie_HSM_WRONGCONF 
ie_ERRORREAD 
ie_ERRORWRITE 
ie_NOMOUNT 
ie_STLNOTERASED 
ie_HSM_INVLIST 
ie_HSM_NOFILENAME 
ie_HSM_NOJOBIDX 
ie_HSM_NOIFILE 
ie_HSM_OTHERLIST 
ie_HSM_INVPATH 
ie_HSM_LONG_INO_LOCK 
ie_HSM_NOTDIRTY 
ie_HSM_INODE_LOCK 
ie_HSM_INVTYPE 
ie_HSM_INVJOBIDX 
ie_HSM_INVJOBELEMIDX 
ie_HSM_NOTREADY 
ie_FSE_MOUNT_PENDING 
ie_FSE_NO_PREMOUNT 
ie_FSE_MOUNT_EXISTS 
ie_HSM_INVJOBSTATUS 
ie_HSM_IVDFS_RECOVERY 
ie_FSE_VOL_NOTEXISTS 
ie_FSE_HSM_EXISTS 
ie_FSE_VOL_DISABLED 
ie_FSE_NTFS_ATTACHED 
ie_HSM_MULTIPLE_ID 
ie_HSM_COLLOCATION 
ie_HSM_MIG_RUNNING 
ie_HSM_EXCLUSIVE_FLAG 
ie_OTHER_HSM 
ie_PARSER_ERROR 
ie_UNKNOWN_VAR 
ie_NO_SUBGROUP 
ie_NOT_VALID 
ie_TYPE_NF 
ie_MISSING_VAR 
ie_TOO_MANY_VAR 
ie_AP_NOTENOUGH 
ie_AP_SYNERR 
ie_AP_NOOPTION 
ie_AP_INVARGTYPE 
ie_AP_ALREADYEXIST 
ie_AP_INVGROUPTYPE 
ie_RECORD_TOO_LARGE 
ie_RECORD_TOO_SMALL 
ie_REL_FILE_HEADER_INV 
ie_REL_FILE_INDEX_INV 
ie_REL_FILE_VEC_SIZE_INV 
ie_TRANSACTION_NOT_STARTED 
ie_DUPLICATE_REL_FILE_ID 
ie_REL_FILE_NO_TRANS_OBJ 
ie_INV_ALTERATION 
ie_INV_ENDTRANS_T_VERSION 
ie_INV_STARTTRANS_T_VERSION 
ie_INV_ALTER_T_VERSION 
ie_NOT_ENDTRANS_T 
ie_NOT_STARTTRANS_T 
ie_NOT_ALTER_T 
ie_INV_TRANSACTION 
ie_REL_FILE_TRAN_NULL_DB 
ie_TRANS_TO_MUCH_INSTANCES 
ie_PERM_DB_INFO_HEADER_INV 
ie_TRANS_EXCEED_JOUR_SPACE 
ie_UV_NOT_IN_BUFFER 
ie_INV_UNUSED_VECT_STRUCT 
ie_INV_HEADER_POSITION 
ie_CIR_FILE_HEADER_INV 
ie_INV_JOUR_FILE_HEADER 
ie_READ_AFTER_EOF 
ie_JOUR_FILE_MISSING 
ie_UV_ALREADY_IN_BUFFER 
ie_IPC_ORB 
ie_IPC_NAMESERVICE 
ie_IPC_RESOLVE 
ie_IPC_REGISTER 
ie_IPC_ORB_EXCEPTION 
ie_IPC_OBJ_ACTIVE 
ie_IPC_UNKNOWN_ORB_EXCEPTION 
ie_IPC_UNKNOWN_IVD_EXCEPTION 
ie_IPC_MIF 
ie_IPC_UIMS 
ie_IPC_ANY_TYPE 
ie_IPC_FATAL 
ie_MIF_LA_PROBLEM 
ie_MIF_BEA_PROBLEM 
ie_MIF_RM_PROBLEM 
ie_MIF_UIPACKER 
ie_MIF_PARTITION_MGR 
ie_REMOVE_ERROR 
ie_UPDATE_ERROR 
ie_SELECT_ERROR 
ie_SEMANTIC_ERROR 
ie_SYNTAX_ERROR 
ie_UNKNOWN_STATUS 
ie_MED_VOL_HDR_EXISTS 
ie_MEDIUM_PARTITIONED 
ie_MEDIUM_UNKNOWNPOOL 
ie_MIF_CFG_CONFIG_FILE_UNKNOWN 
ie_MIF_CFG_REVISION_OUT_OF_RANGE 
ie_MIF_CFG_REVISION_NONEXISTENT 
ie_MIF_CFG_TROUBLE_IN_REPOSITORY 
ie_MIF_CFG_ALREADY_CONFIGURED 
ie_MIF_CFG_RENAMING_NOT_ALLOWED_YET 
ie_MIF_CFG_ILLEGAL_NAME 
ie_MIF_CFG_SEMANTIC_ERROR 
ie_MIF_CFG_SYNTAX_ERROR 
ie_MIF_CFG_HEADER_ERROR 
ie_MIF_CFG_UNKNOWN_ERROR 
ie_DF_BLOCKFULL 
ie_DF_INV_BLK 
ie_DF_CLOSED 
ie_DF_EOD 
ie_DF_INVSTATE 
ie_DF_INVSEQ 
ie_DF_INVBLKCOOKIE 
ie_DF_INVRECCOOKIE 
ie_DF_INVBLKSEQNUM 
ie_DF_INVRECSEQNUM 
ie_DF_INVSTREAMFMT 
ie_DF_HDRCORRUPT 
ie_DF_WRITER_UP 
ie_DF_SSIZE 
ie_DF_RETHROWN 
ie_DF_LIM_STREAM_MISSING 
ie_DF_BROKEN_PIPE 
ie_MEDIUM_BLANK 
ie_MEDIUM_EOD 
ie_MEDIUM_EOM 
ie_MEDIUM_FILEMARK 
ie_MEDIUM_OVERFLOW 
ie_MEDIUM_PROTECTED 
ie_MEDIUM_ILENGTH 
ie_MEDIUM_MEDERR 
ie_MEDIUM_HWERR 
ie_SCSI_STATUS 
ie_SCSI_SENSE 
ie_SCSI_NOT_READY 
ie_SCSI_MEDERR 
ie_SCSI_HWERR 
ie_SCSI_UNIT_ATT 
ie_SCSI_PROTECTED 
ie_SCSI_BLANK 
ie_SCSI_EOD 
ie_SCSI_EOM 
ie_SCSI_FILEMARK 
ie_SCSI_ILENGTH 
ie_SCSI_OVERFLOW 
ie_SCSI_ILREQ 
ie_SCSI_NO_MEDIUM 
ie_SCSI_DESTFULL 
ie_SCSI_SRCEMPTY 
ie_SCSI_RETRY 
ie_SCSI_OPEN 
ie_SCSI_CLOSE 
ie_SCSI_DRIVER 
ie_SCSI_HOST 
ie_SCSI_INVRESULT 
ie_FSC_INV_DATA_TYPE 
ie_FSC_INV_SPLIT_INFO 
ie_FSC_TOO_MUCH_COPIES 
ie_FSC_NOCOPIES 
ie_FSC_TOOHIGH_MEDVOLNUM 
ie_FSC_NO_MEDVOLFILE 
ie_FSC_CHANGEONCHAGE 
ie_FSC_INV_GENERATION_NUM 
ie_FSC_NODATA 
ie_FSC_NONSCELEMENTOBJ 
ie_FSC_NOTREADY 
ie_FSC_ERROR 
ie_BEA_INVPOS 
ie_BEA_INVVOLFMT 
ie_BEA_INVVOLID 
ie_BEA_INVDEVTYPE 
ie_BEA_MICSIZE 
ie_BEA_MICCONTENTS 
ie_BEA_INIT 
ie_BEA_FORMAT 
ie_BEA_HWID 
ie_BEA_WORM 
ie_BEA_FRI 
ie_LA_INVDEVTYPE 
ie_LA_INVBARCODE 
ie_LA_OPEN 
ie_LA_OUTOFRANGE 
ie_LA_UNCONFIGURED 
ie_LA_MOUNTDENY 
ie_LA_UNSUPPORTED 
ie_HSMDB_ERROR 
ie_BAK_SUSPEND 
ie_BAK_CONTINUE 
ie_NO_CONFIRM 

Definition at line 76 of file errorcodes.h.

             {
    // Single line documentation (doxygen) comments.

    ie_SENTINEL             = -1,

    ie_NO_ERROR             = ivd_ERRORCODE_m(em_CMN,  0),

    ie_SINGLETON_EXISTS     = ivd_ERRORCODE_m(em_CMN,  1),
    ie_FILE_ERROR           = ivd_ERRORCODE_m(em_CMN,  2),
    ie_OUTOFMEM             = ivd_ERRORCODE_m(em_CMN,  3),
    ie_INVALID_ARG          = ivd_ERRORCODE_m(em_CMN,  4),
    ie_DATA_CORRUPTION      = ivd_ERRORCODE_m(em_CMN,  5),
    ie_NYI                  = ivd_ERRORCODE_m(em_CMN,  6),
    ie_STRING_TOO_LONG      = ivd_ERRORCODE_m(em_CMN,  7),
    ie_ARGUMENT_MISSING     = ivd_ERRORCODE_m(em_CMN,  8),
    ie_IMPOSSIBLE           = ivd_ERRORCODE_m(em_CMN,  9),
    ie_INV_FILE_NAME        = ivd_ERRORCODE_m(em_CMN, 10),
    ie_MUTEX                = ivd_ERRORCODE_m(em_CMN, 11),
    ie_ENV_VAR_NOT_SET      = ivd_ERRORCODE_m(em_CMN, 12),
    ie_UUID                 = ivd_ERRORCODE_m(em_CMN, 13),
    ie_TIMEOUT              = ivd_ERRORCODE_m(em_CMN, 14),
    ie_NULLPTR              = ivd_ERRORCODE_m(em_CMN, 15),
    ie_INVALID_STRING       = ivd_ERRORCODE_m(em_CMN, 16),
    ie_UNKNOWN_TYPE         = ivd_ERRORCODE_m(em_CMN, 17),
    ie_STD_EXCEPTION        = ivd_ERRORCODE_m(em_CMN, 18),
    ie_ABORT                = ivd_ERRORCODE_m(em_CMN, 19),
    ie_NOT_SUPPORTED        = ivd_ERRORCODE_m(em_CMN, 20),
    ie_EXCEED_MAX_SIZE      = ivd_ERRORCODE_m(em_CMN, 21),
    ie_PRECONDITION         = ivd_ERRORCODE_m(em_CMN, 22),
    ie_PROCESS              = ivd_ERRORCODE_m(em_CMN, 23),
    ie_NOTFOUND             = ivd_ERRORCODE_m(em_CMN, 24),
    ie_CONNECTIVITY         = ivd_ERRORCODE_m(em_CMN, 25),
    ie_LOCALE               = ivd_ERRORCODE_m(em_CMN, 26),
    ie_ALREADY_IN_REORG     = ivd_ERRORCODE_m(em_CMN, 27),
    ie_NO_DISK_SPACE        = ivd_ERRORCODE_m(em_CMN, 28),
    ie_EXECUTION_ERROR      = ivd_ERRORCODE_m(em_CMN, 29),
    ie_FATAL_ERROR          = ivd_ERRORCODE_m(em_CMN, 999),

    // RMDB errors
    ie_RMDB_ERROR           = ivd_ERRORCODE_m(em_RMDB, 0),
    ie_RMDB_INVALID_FK      = ivd_ERRORCODE_m(em_RMDB, 1),
    ie_RMDB_DUPL_UNIQUE     = ivd_ERRORCODE_m(em_RMDB, 2),
    ie_RMDB_CONNECTPROBLEM  = ivd_ERRORCODE_m(em_RMDB, 3),
    ie_RMDB_NOTFOUND        = ivd_ERRORCODE_m(em_RMDB, 4),
    ie_DRIVE_INDEX_DUPL     = ivd_ERRORCODE_m(em_RMDB, 5),

    ie_RM_ALLOC_DISKBUFF    = ivd_ERRORCODE_m(em_RMDB, 10),

    //RM errors
    ie_NOJOBTYPE            = ivd_ERRORCODE_m(em_RM, 0),
    ie_NO_RESOURCE_FOUND    = ivd_ERRORCODE_m(em_RM, 1),
    ie_PARTSTATDUPL         = ivd_ERRORCODE_m(em_RM, 2),
    ie_PARTSTATNF           = ivd_ERRORCODE_m(em_RM, 3),
    ie_RELEASEERR           = ivd_ERRORCODE_m(em_RM, 4),
    ie_JOBNOTFOUND          = ivd_ERRORCODE_m(em_RM, 5),
    ie_INVALID_TBL_SIZE     = ivd_ERRORCODE_m(em_RM, 6),
    ie_NO_MIG_ID_INIT       = ivd_ERRORCODE_m(em_RM, 7),

    //PM errors
    ie_JOB_NOT_FOUND        = ivd_ERRORCODE_m(em_PM, 0),
    ie_CFG_INVALID          = ivd_ERRORCODE_m(em_PM, 1),
    ie_NO_COPIES            = ivd_ERRORCODE_m(em_PM, 2),
    ie_JOB_REMOVED          = ivd_ERRORCODE_m(em_PM, 3),
    ie_JOB_FAILED           = ivd_ERRORCODE_m(em_PM, 4),
    ie_NO_SPACE_FOR_BUFFER  = ivd_ERRORCODE_m(em_PM, 5),
    ie_REGISTER_NOT_ALLOWED = ivd_ERRORCODE_m(em_PM, 6),
    ie_VOL_NOT_FOUND        = ivd_ERRORCODE_m(em_PM, 7),
    ie_NO_FILES             = ivd_ERRORCODE_m(em_PM, 8),
    ie_NO_HSM               = ivd_ERRORCODE_m(em_PM,10),
    ie_LOST_HSM             = ivd_ERRORCODE_m(em_PM,11),

    // hsmList errors
    ie_NOINSERT             = ivd_ERRORCODE_m(em_CLIENT,  0),
    ie_NOFINDOBJ            = ivd_ERRORCODE_m(em_CLIENT,  1),
    ie_EMPTYLIST            = ivd_ERRORCODE_m(em_CLIENT,  2),
    ie_NOTYPE               = ivd_ERRORCODE_m(em_CLIENT,  3),
    ie_HSM_NOEVENT          = ivd_ERRORCODE_m(em_CLIENT,  4),
    ie_HSM_OBJEXIST         = ivd_ERRORCODE_m(em_CLIENT,  5),
    ie_HSM_NOINSTANCE       = ivd_ERRORCODE_m(em_CLIENT,  6),
    ie_HSM_NOINODE          = ivd_ERRORCODE_m(em_CLIENT,  7),
    ie_HSM_NODEVFILE        = ivd_ERRORCODE_m(em_CLIENT,  8),
    ie_HSM_NOJOBLIST        = ivd_ERRORCODE_m(em_CLIENT,  9),
    ie_HSM_NOHASH           = ivd_ERRORCODE_m(em_CLIENT, 10),
    ie_HSM_NOFILEID         = ivd_ERRORCODE_m(em_CLIENT, 11),
    ie_HSM_WRONGCONF        = ivd_ERRORCODE_m(em_CLIENT, 12),
    ie_ERRORREAD            = ivd_ERRORCODE_m(em_CLIENT, 13),
    ie_ERRORWRITE           = ivd_ERRORCODE_m(em_CLIENT, 14),
    ie_NOMOUNT              = ivd_ERRORCODE_m(em_CLIENT, 15),
    ie_STLNOTERASED         = ivd_ERRORCODE_m(em_CLIENT, 16),
    ie_HSM_INVLIST          = ivd_ERRORCODE_m(em_CLIENT, 17),
    ie_HSM_NOFILENAME       = ivd_ERRORCODE_m(em_CLIENT, 18),
    ie_HSM_NOJOBIDX         = ivd_ERRORCODE_m(em_CLIENT, 19),
    ie_HSM_NOIFILE          = ivd_ERRORCODE_m(em_CLIENT, 20),
    ie_HSM_OTHERLIST        = ivd_ERRORCODE_m(em_CLIENT, 21),
    ie_HSM_INVPATH          = ivd_ERRORCODE_m(em_CLIENT, 22),
    ie_HSM_LONG_INO_LOCK    = ivd_ERRORCODE_m(em_CLIENT, 23),
    ie_HSM_NOTDIRTY         = ivd_ERRORCODE_m(em_CLIENT, 24),
    ie_HSM_INODE_LOCK       = ivd_ERRORCODE_m(em_CLIENT, 25),
    ie_HSM_INVTYPE          = ivd_ERRORCODE_m(em_CLIENT, 26),
    ie_HSM_INVJOBIDX        = ivd_ERRORCODE_m(em_CLIENT, 27),
    ie_HSM_INVJOBELEMIDX    = ivd_ERRORCODE_m(em_CLIENT, 28),
    ie_HSM_NOTREADY         = ivd_ERRORCODE_m(em_CLIENT, 29),
    ie_FSE_MOUNT_PENDING    = ivd_ERRORCODE_m(em_CLIENT, 30),
    ie_FSE_NO_PREMOUNT      = ivd_ERRORCODE_m(em_CLIENT, 31),
    ie_FSE_MOUNT_EXISTS     = ivd_ERRORCODE_m(em_CLIENT, 32),
    ie_HSM_INVJOBSTATUS     = ivd_ERRORCODE_m(em_CLIENT, 33),
    ie_HSM_IVDFS_RECOVERY   = ivd_ERRORCODE_m(em_CLIENT, 34),
    ie_FSE_VOL_NOTEXISTS    = ivd_ERRORCODE_m(em_CLIENT, 35),
    ie_FSE_HSM_EXISTS       = ivd_ERRORCODE_m(em_CLIENT, 36),
    ie_FSE_VOL_DISABLED     = ivd_ERRORCODE_m(em_CLIENT, 37),
    ie_FSE_NTFS_ATTACHED    = ivd_ERRORCODE_m(em_CLIENT, 38),
    ie_HSM_MULTIPLE_ID      = ivd_ERRORCODE_m(em_CLIENT, 39),
    ie_HSM_COLLOCATION      = ivd_ERRORCODE_m(em_CLIENT, 40),
    ie_HSM_MIG_RUNNING      = ivd_ERRORCODE_m(em_CLIENT, 41),
    ie_HSM_EXCLUSIVE_FLAG   = ivd_ERRORCODE_m(em_CLIENT, 42),

    ie_OTHER_HSM            = ivd_ERRORCODE_m(em_CLIENT, 99),
    // hsmList errors end13

    ie_PARSER_ERROR         = ivd_ERRORCODE_m(em_PARSER, 0),
    ie_UNKNOWN_VAR          = ivd_ERRORCODE_m(em_PARSER, 1),
    ie_NO_SUBGROUP          = ivd_ERRORCODE_m(em_PARSER, 2),
    ie_NOT_VALID            = ivd_ERRORCODE_m(em_PARSER, 3),
    ie_TYPE_NF              = ivd_ERRORCODE_m(em_PARSER, 4),
    ie_MISSING_VAR          = ivd_ERRORCODE_m(em_PARSER, 5),
    ie_TOO_MANY_VAR         = ivd_ERRORCODE_m(em_PARSER, 6),

    ie_AP_NOTENOUGH         = ivd_ERRORCODE_m(em_PARSER, 100),
    ie_AP_SYNERR            = ivd_ERRORCODE_m(em_PARSER, 101),
    ie_AP_NOOPTION          = ivd_ERRORCODE_m(em_PARSER, 102),

    // AP internal error occures at construct time,
    // can't happen at customer.
    ie_AP_INVARGTYPE        = ivd_ERRORCODE_m(em_PARSER, 201),
    ie_AP_ALREADYEXIST      = ivd_ERRORCODE_m(em_PARSER, 202),
    ie_AP_INVGROUPTYPE      = ivd_ERRORCODE_m(em_PARSER, 203),

    // fileio errors
    ie_RECORD_TOO_LARGE         = ivd_ERRORCODE_m(em_FILEIO, 0),
    ie_RECORD_TOO_SMALL         = ivd_ERRORCODE_m(em_FILEIO, 1),
    ie_REL_FILE_HEADER_INV      = ivd_ERRORCODE_m(em_FILEIO, 2),
    ie_REL_FILE_INDEX_INV       = ivd_ERRORCODE_m(em_FILEIO, 3),
    ie_REL_FILE_VEC_SIZE_INV    = ivd_ERRORCODE_m(em_FILEIO, 4),
    ie_TRANSACTION_NOT_STARTED  = ivd_ERRORCODE_m(em_FILEIO, 5),
// NOT USED    ie_TRANSACTION_STARTED_AGAIN= ivd_ERRORCODE_m(em_FILEIO, 6),
    ie_DUPLICATE_REL_FILE_ID    = ivd_ERRORCODE_m(em_FILEIO, 7),
    ie_REL_FILE_NO_TRANS_OBJ    = ivd_ERRORCODE_m(em_FILEIO, 8),
    ie_INV_ALTERATION           = ivd_ERRORCODE_m(em_FILEIO, 9),
    ie_INV_ENDTRANS_T_VERSION   = ivd_ERRORCODE_m(em_FILEIO,10),
    ie_INV_STARTTRANS_T_VERSION = ivd_ERRORCODE_m(em_FILEIO,11),
    ie_INV_ALTER_T_VERSION      = ivd_ERRORCODE_m(em_FILEIO,12),
    ie_NOT_ENDTRANS_T           = ivd_ERRORCODE_m(em_FILEIO,13),
    ie_NOT_STARTTRANS_T         = ivd_ERRORCODE_m(em_FILEIO,14),
    ie_NOT_ALTER_T              = ivd_ERRORCODE_m(em_FILEIO,15),
    ie_INV_TRANSACTION          = ivd_ERRORCODE_m(em_FILEIO,16),
    ie_REL_FILE_TRAN_NULL_DB    = ivd_ERRORCODE_m(em_FILEIO,17),
    ie_TRANS_TO_MUCH_INSTANCES  = ivd_ERRORCODE_m(em_FILEIO,18),
    ie_PERM_DB_INFO_HEADER_INV  = ivd_ERRORCODE_m(em_FILEIO,19),
    ie_TRANS_EXCEED_JOUR_SPACE  = ivd_ERRORCODE_m(em_FILEIO,20),
    ie_UV_NOT_IN_BUFFER         = ivd_ERRORCODE_m(em_FILEIO,21),
    ie_INV_UNUSED_VECT_STRUCT   = ivd_ERRORCODE_m(em_FILEIO,22),
    ie_INV_HEADER_POSITION      = ivd_ERRORCODE_m(em_FILEIO,23),
    ie_CIR_FILE_HEADER_INV      = ivd_ERRORCODE_m(em_FILEIO,24),
    ie_INV_JOUR_FILE_HEADER     = ivd_ERRORCODE_m(em_FILEIO,25),
    ie_READ_AFTER_EOF           = ivd_ERRORCODE_m(em_FILEIO,26),
    ie_JOUR_FILE_MISSING        = ivd_ERRORCODE_m(em_FILEIO,27),
    ie_UV_ALREADY_IN_BUFFER     = ivd_ERRORCODE_m(em_FILEIO,28),

    ie_IPC_ORB                  = ivd_ERRORCODE_m(em_IPC, 0),
    ie_IPC_NAMESERVICE          = ivd_ERRORCODE_m(em_IPC, 1),
    ie_IPC_RESOLVE              = ivd_ERRORCODE_m(em_IPC, 2),
    ie_IPC_REGISTER             = ivd_ERRORCODE_m(em_IPC, 3),
    ie_IPC_ORB_EXCEPTION        = ivd_ERRORCODE_m(em_IPC, 4),
    ie_IPC_OBJ_ACTIVE           = ivd_ERRORCODE_m(em_IPC, 5),
    ie_IPC_UNKNOWN_ORB_EXCEPTION= ivd_ERRORCODE_m(em_IPC, 6),
    ie_IPC_UNKNOWN_IVD_EXCEPTION= ivd_ERRORCODE_m(em_IPC, 7),
    ie_IPC_MIF                  = ivd_ERRORCODE_m(em_IPC, 8),
    ie_IPC_UIMS                 = ivd_ERRORCODE_m(em_IPC, 9),
    ie_IPC_ANY_TYPE             = ivd_ERRORCODE_m(em_IPC, 10),
    ie_IPC_FATAL                = ivd_ERRORCODE_m(em_IPC, 999),

    // MIF errors

    ie_MIF_LA_PROBLEM                     = ivd_ERRORCODE_m(em_MIF, 4),
    ie_MIF_BEA_PROBLEM                    = ivd_ERRORCODE_m(em_MIF, 5),
    ie_MIF_RM_PROBLEM                     = ivd_ERRORCODE_m(em_MIF, 6),
    ie_MIF_UIPACKER                       = ivd_ERRORCODE_m(em_MIF, 7),
    ie_MIF_PARTITION_MGR                  = ivd_ERRORCODE_m(em_MIF, 8),

    ie_REMOVE_ERROR                       = ivd_ERRORCODE_m(em_MIF, 9),
    ie_UPDATE_ERROR                       = ivd_ERRORCODE_m(em_MIF, 10),
    ie_SELECT_ERROR                       = ivd_ERRORCODE_m(em_MIF, 11),

    ie_SEMANTIC_ERROR                     = ivd_ERRORCODE_m(em_MIF, 12),
    ie_SYNTAX_ERROR                       = ivd_ERRORCODE_m(em_MIF, 13),
    ie_UNKNOWN_STATUS                     = ivd_ERRORCODE_m(em_MIF, 14),

    ie_MED_VOL_HDR_EXISTS                 = ivd_ERRORCODE_m(em_MIF, 15),
    ie_MEDIUM_PARTITIONED                 = ivd_ERRORCODE_m(em_MIF, 16),
    ie_MEDIUM_UNKNOWNPOOL                 = ivd_ERRORCODE_m(em_MIF, 17),

    ie_MIF_CFG_CONFIG_FILE_UNKNOWN        = ivd_ERRORCODE_m(em_MIF, 50),
    ie_MIF_CFG_REVISION_OUT_OF_RANGE      = ivd_ERRORCODE_m(em_MIF, 51),
    ie_MIF_CFG_REVISION_NONEXISTENT       = ivd_ERRORCODE_m(em_MIF, 52),
    ie_MIF_CFG_TROUBLE_IN_REPOSITORY      = ivd_ERRORCODE_m(em_MIF, 53),
    ie_MIF_CFG_ALREADY_CONFIGURED         = ivd_ERRORCODE_m(em_MIF, 54),
    ie_MIF_CFG_RENAMING_NOT_ALLOWED_YET   = ivd_ERRORCODE_m(em_MIF, 55),
    ie_MIF_CFG_ILLEGAL_NAME               = ivd_ERRORCODE_m(em_MIF, 56),
    ie_MIF_CFG_SEMANTIC_ERROR             = ivd_ERRORCODE_m(em_MIF, 57),
    ie_MIF_CFG_SYNTAX_ERROR               = ivd_ERRORCODE_m(em_MIF, 58),
    ie_MIF_CFG_HEADER_ERROR               = ivd_ERRORCODE_m(em_MIF, 59),
    ie_MIF_CFG_UNKNOWN_ERROR              = ivd_ERRORCODE_m(em_MIF, 60),

    // MIF errors END

    ie_DF_BLOCKFULL             = ivd_ERRORCODE_m(em_DF,  0),
    ie_DF_INV_BLK               = ivd_ERRORCODE_m(em_DF,  2),
    ie_DF_CLOSED                = ivd_ERRORCODE_m(em_DF,  3),
    ie_DF_EOD                   = ivd_ERRORCODE_m(em_DF,  4),
    ie_DF_INVSTATE              = ivd_ERRORCODE_m(em_DF,  5),
    ie_DF_INVSEQ                = ivd_ERRORCODE_m(em_DF,  6),
    ie_DF_INVBLKCOOKIE          = ivd_ERRORCODE_m(em_DF,  7),
    ie_DF_INVRECCOOKIE          = ivd_ERRORCODE_m(em_DF,  8),
    ie_DF_INVBLKSEQNUM          = ivd_ERRORCODE_m(em_DF,  9),
    ie_DF_INVRECSEQNUM          = ivd_ERRORCODE_m(em_DF, 10),
    ie_DF_INVSTREAMFMT          = ivd_ERRORCODE_m(em_DF, 11),
    ie_DF_HDRCORRUPT            = ivd_ERRORCODE_m(em_DF, 12),
    ie_DF_WRITER_UP             = ivd_ERRORCODE_m(em_DF, 13),
    ie_DF_SSIZE                 = ivd_ERRORCODE_m(em_DF, 14),
    ie_DF_RETHROWN              = ivd_ERRORCODE_m(em_DF, 15),
    ie_DF_LIM_STREAM_MISSING    = ivd_ERRORCODE_m(em_DF, 16),
    ie_DF_BROKEN_PIPE           = ivd_ERRORCODE_m(em_DF, 17),

    // General medium errors (technology independent)
    ie_MEDIUM_BLANK             = ivd_ERRORCODE_m(em_MED, 1),
    ie_MEDIUM_EOD               = ivd_ERRORCODE_m(em_MED, 2),
    ie_MEDIUM_EOM               = ivd_ERRORCODE_m(em_MED, 3),
    ie_MEDIUM_FILEMARK          = ivd_ERRORCODE_m(em_MED, 4),
    ie_MEDIUM_OVERFLOW          = ivd_ERRORCODE_m(em_MED, 5),
    ie_MEDIUM_PROTECTED         = ivd_ERRORCODE_m(em_MED, 6),
    ie_MEDIUM_ILENGTH           = ivd_ERRORCODE_m(em_MED, 7),
    ie_MEDIUM_MEDERR            = ivd_ERRORCODE_m(em_MED, 8),
    ie_MEDIUM_HWERR             = ivd_ERRORCODE_m(em_MED, 9),

    // SCSI errors
    ie_SCSI_STATUS              = ivd_ERRORCODE_m(em_SCSI,  0),

    // Various error codes, deduced from sense codes
    ie_SCSI_SENSE               = ivd_ERRORCODE_m(em_SCSI,  10),
    ie_SCSI_NOT_READY           = ivd_ERRORCODE_m(em_SCSI,  11),
    ie_SCSI_MEDERR              = ie_MEDIUM_MEDERR,
    ie_SCSI_HWERR               = ie_MEDIUM_HWERR,
    ie_SCSI_UNIT_ATT            = ivd_ERRORCODE_m(em_SCSI,  14),
    ie_SCSI_PROTECTED           = ie_MEDIUM_PROTECTED,
    ie_SCSI_BLANK               = ie_MEDIUM_BLANK,
    ie_SCSI_EOD                 = ie_MEDIUM_EOD,
    ie_SCSI_EOM                 = ie_MEDIUM_EOM,
    ie_SCSI_FILEMARK            = ie_MEDIUM_FILEMARK,
    ie_SCSI_ILENGTH             = ie_MEDIUM_ILENGTH,
    ie_SCSI_OVERFLOW            = ie_MEDIUM_OVERFLOW,
    ie_SCSI_ILREQ               = ivd_ERRORCODE_m(em_SCSI,  22),
    ie_SCSI_NO_MEDIUM           = ivd_ERRORCODE_m(em_SCSI,  23),
    ie_SCSI_DESTFULL            = ivd_ERRORCODE_m(em_SCSI,  24),
    ie_SCSI_SRCEMPTY            = ivd_ERRORCODE_m(em_SCSI,  25),

    ie_SCSI_RETRY               = ivd_ERRORCODE_m(em_SCSI,  50),
    ie_SCSI_OPEN                = ivd_ERRORCODE_m(em_SCSI,  51),
    ie_SCSI_CLOSE               = ivd_ERRORCODE_m(em_SCSI,  52),
    ie_SCSI_DRIVER              = ivd_ERRORCODE_m(em_SCSI,  53),
    ie_SCSI_HOST                = ivd_ERRORCODE_m(em_SCSI,  54),
    ie_SCSI_INVRESULT           = ivd_ERRORCODE_m(em_SCSI,  55),

    ie_FSC_INV_DATA_TYPE        = ivd_ERRORCODE_m(em_FSC,  0),
    ie_FSC_INV_SPLIT_INFO       = ivd_ERRORCODE_m(em_FSC,  1),
    ie_FSC_TOO_MUCH_COPIES      = ivd_ERRORCODE_m(em_FSC,  2),
    ie_FSC_NOCOPIES             = ivd_ERRORCODE_m(em_FSC,  3),
    ie_FSC_TOOHIGH_MEDVOLNUM    = ivd_ERRORCODE_m(em_FSC,  4),
    ie_FSC_NO_MEDVOLFILE        = ivd_ERRORCODE_m(em_FSC,  5),
    ie_FSC_CHANGEONCHAGE        = ivd_ERRORCODE_m(em_FSC,  6),
    ie_FSC_INV_GENERATION_NUM   = ivd_ERRORCODE_m(em_FSC,  7),
    ie_FSC_NODATA               = ivd_ERRORCODE_m(em_FSC,  8),
    ie_FSC_NONSCELEMENTOBJ      = ivd_ERRORCODE_m(em_FSC,  9),
    ie_FSC_NOTREADY             = ivd_ERRORCODE_m(em_FSC, 10),
    ie_FSC_ERROR                = ivd_ERRORCODE_m(em_FSC, 11),
//    ie_FSC_EXPECT_DIRECTORY     = ivd_ERRORCODE_m(em_FSC,  8),

    ie_BEA_INVPOS               = ivd_ERRORCODE_m(em_BEA,  0),
    ie_BEA_INVVOLFMT            = ivd_ERRORCODE_m(em_BEA,  1),
    ie_BEA_INVVOLID             = ivd_ERRORCODE_m(em_BEA,  2),
    ie_BEA_INVDEVTYPE           = ivd_ERRORCODE_m(em_BEA,  3),
    ie_BEA_MICSIZE              = ivd_ERRORCODE_m(em_BEA,  10),
    ie_BEA_MICCONTENTS          = ivd_ERRORCODE_m(em_BEA,  11),
    ie_BEA_INIT                 = ivd_ERRORCODE_m(em_BEA,  12),
    ie_BEA_FORMAT               = ivd_ERRORCODE_m(em_BEA,  13),
    ie_BEA_HWID                 = ivd_ERRORCODE_m(em_BEA,  14),
    ie_BEA_WORM                 = ivd_ERRORCODE_m(em_BEA,  15),
    ie_BEA_FRI                  = ivd_ERRORCODE_m(em_BEA,  16),

//    ie_DM_FILE_NOT_EXISTS       = ivd_ERRORCODE_m(em_BEA, 101),
//    ie_DM_INVALID_ORDER         = ivd_ERRORCODE_m(em_BEA, 102),

    ie_LA_INVDEVTYPE            = ivd_ERRORCODE_m(em_LA,   0),
    ie_LA_INVBARCODE            = ivd_ERRORCODE_m(em_LA,   1),
    ie_LA_OPEN                  = ivd_ERRORCODE_m(em_LA,   2),
    ie_LA_OUTOFRANGE            = ivd_ERRORCODE_m(em_LA,   3),
    ie_LA_UNCONFIGURED          = ivd_ERRORCODE_m(em_LA,   4),
    ie_LA_MOUNTDENY             = ivd_ERRORCODE_m(em_LA,   5),
    ie_LA_UNSUPPORTED           = ivd_ERRORCODE_m(em_LA,   6),

    ie_HSMDB_ERROR              = ivd_ERRORCODE_m(em_HSMDB, 0),

    ie_BAK_SUSPEND              = ivd_ERRORCODE_m(em_BAK, 0),
    ie_BAK_CONTINUE             = ivd_ERRORCODE_m(em_BAK, 1),

    ie_NO_CONFIRM               = ivd_ERRORCODE_m(em_UI, 1)

} ivd_ErrorCode_e;

Definition of IVD error code constants.

ie_ prefix means IVD Error.

NOTE: Add a short description to g_errorCodeTable in file ivd_errorcodes.cpp. Module numbers for grouping error codes.

Enumerator:
em_CMN 
em_RMDB 
em_CLIENT 
em_PARSER 
em_FILEIO 
em_CLI 
em_IPC 
em_DF 
em_MIF 
em_RM 
em_PM 
em_MED 
em_SCSI 
em_FSC 
em_BEA 
em_LA 
em_HSMDB 
em_BAK 
em_UI 

Definition at line 45 of file errorcodes.h.

             {
    em_CMN      =  0,
    em_RMDB     =  1,
    em_CLIENT   =  2,
    em_PARSER   =  3,
    em_FILEIO   =  4,
    em_CLI      =  5,
    em_IPC      =  6,
    em_DF       =  7,
    em_MIF      =  8,
    em_RM       =  9,
    em_PM       = 10,
    em_MED      = 11,
    em_SCSI     = 12,
    em_FSC      = 13,
    em_BEA      = 14,
    em_LA       = 15,
    em_HSMDB    = 16,
    em_BAK      = 17,
    em_UI       = 18

} ivd_ErrorModule_e;


Function Documentation

ivd_FSType_e GetFSType ( Int32_t  a_bitMap  ) 

Definition at line 421 of file ivd_literals.cpp.

References dbg_NORM, fst_REGULAR, fst_UNKNOWN, fst_WORM, ivd_FSTypeToText(), log_DBG_m, log_FUNC_m, and log_WRN_m.

Referenced by i_UIMessageServer_i::DisplayDetail(), i_UIMessageServer_i::DisplayTable(), i_PartitionManager_i::GetPartitionRecord(), i_ResourceManager_i::UpdatePartition(), and i_ManagementInterface_i::UpdatePartition().

                                        {
    log_FUNC_m(GetFSType);
    ivd_FSType_e tmp = fst_UNKNOWN;

    if (a_bitMap & fst_REGULAR){
        tmp = fst_REGULAR;
    }
    if (a_bitMap & fst_WORM){
        if (tmp != fst_UNKNOWN) {
            //regular AND WORM are set
            log_WRN_m("Invalid partition option regular and worm.");
            tmp = fst_UNKNOWN;
        }
        else {
            tmp = fst_WORM;
        }
    }
    if (a_bitMap == fst_UNKNOWN) {
        log_WRN_m("Partition file system type is set to unknown.");
    }
    log_DBG_m(dbg_NORM, "FS Type is "<< ivd_FSTypeToText(tmp));
    return tmp;
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_BeaStatusToText ( ivd_BeaStatus_e  a_val  ) 

Definition at line 674 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_Job_i::GetBeaStatus(), i_Job_i::InitBeaStatus(), i_Job_i::SetBeaStatus(), and i_Job_i::WaitBeasToFinish().

                                                  {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_BeaStatusTable).c_str();
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_BitFlagToText ( Int32_t  a_val,
cmn_Literal_t a_lit 
) [inline]

Definition at line 88 of file ivd_literals.cpp.

References dbg_DETAIL, dbg_LOW, log_DBG_m, log_FUNC_m, and cmn_Literal_t::val.

Referenced by ivd_BeaStatusToText(), ivd_BitFlagToText(), ivd_DriveStatusToText(), ivd_JobStatusToText(), ivd_JobTypeToText(), ivd_LibraryStatusToText(), ivd_MediaVolStatusToText(), ivd_MediumStatusToText(), ivd_PartitionActivityToText(), ivd_PartitionOptionsToText(), ivd_PartitionStatusToText(), and ivd_SlotStatusToText().

                                                                     {
    log_FUNC_m(ivd_BitFlagToText);
    string status;

    Int32_t val(a_val);
    log_DBG_m(dbg_DETAIL, "val:" << val);

    // Walk over the translation table to find strings
    for (int i(0); a_lit[i].val != bf_SENTINEL; ++i) {

        if (a_lit[i].val == val && val == 0) {
            // special case: value can be 0
            status.append(a_lit[i].literal);
            break;
        }

        if ( (a_lit[i].val & val) != 0 ) {
            if (!status.empty()) {
                //comma separation if more than two values
                status.append(", ");
            }
            status.append(a_lit[i].literal);

            // Clear found flag
            val = val & (~a_lit[i].val);
            log_DBG_m(dbg_DETAIL, "val:" << val << " status: " << status);
        }
    } // for

    if (val != 0) {
        log_DBG_m(dbg_LOW, "Some flags not found in table. Val:" << val);
        ostringstream sstr;
        sstr << "unknown flags (0x" << hex << val << ")";
        if (!status.empty()) {
            //comma separation if more than two values
            status.append(", ");
        }
        status.append(sstr.str());
    }
    else if (status.empty()) {
        // Input value is 0, but value 0 is not in translation table
        status.assign("unknown flags (0x0)");
    }

    log_DBG_m(dbg_LOW, "status:" << status);
    return status;
}

Here is the caller graph for this function:

ivd_DriveCapab_e ivd_DriveCapab ( const string &  a_str  ) 

Definition at line 529 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_DriveCapab::Assign().

                                                     {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_driveCapabTable);
    if (g_driveCapabTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("driveCapab: ") + a_str);
    }
    return static_cast<ivd_DriveCapab_e>(g_driveCapabTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_DriveCapabToText ( ivd_DriveCapab_e  a_val  ) 

Definition at line 525 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Here is the call graph for this function:

string ivd_DriveStatusToText ( ivd_DriveStatus_e  a_val  ) 

Definition at line 205 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                       {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_driveStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UInt32_t ivd_FindLiteralByStr ( const string &  a_str,
cmn_Literal_t a_lit 
) [inline]

Definition at line 76 of file ivd_literals.cpp.

References bf_SENTINEL, cmn_Literal_t::literal, and strcasecmp.

Referenced by ivd_DriveCapab(), ivd_FSType(), ivd_LibraryType(), ivd_MediaFamily(), ivd_MediaType(), ivd_PoolType(), ivd_SlotType(), and ivd_SysVolLocation().

                                                           {
    UInt32_t i = 0;

    // while not end of table and literal is not founded
    while ( a_lit[i].val != bf_SENTINEL
            && strcasecmp(a_str.c_str(), a_lit[i].literal) != 0) {
        i++;
    }
    return i;
}

Here is the caller graph for this function:

const char* ivd_FindLiteralByVal ( Int32_t  a_val,
const cmn_Literal_t a_lit 
) [inline]

Helper inline functions.

Definition at line 60 of file ivd_literals.cpp.

References bf_SENTINEL, cmn_Literal_t::literal, and cmn_Literal_t::val.

Referenced by ivd_DriveCapabToText(), ivd_FSTypeToText(), ivd_LibraryTypeToText(), ivd_MediaFamilyToText(), ivd_MediaTypeToText(), ivd_PoolTypeToText(), ivd_SlotTypeToText(), ivd_SysVolLocationToText(), and ivd_VolTypeToText().

                                                                                   {

    const cmn_Literal_t *lit_p(a_lit);
    for ( ; lit_p->val != bf_SENTINEL && lit_p->val != a_val; ++lit_p) {
        // Empty loop
    }

    if (lit_p->val != bf_SENTINEL) {
        return lit_p->literal;
    }
    else {
        static const char *const unknown_s("unknown");
        return unknown_s;
    }
}

Here is the caller graph for this function:

ivd_FSType_e ivd_FSType ( const string &  a_str  ) 

Definition at line 413 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_FSType::Assign().

                                             {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_fsTypeTable);
    if (g_fsTypeTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("fsType: ") + a_str);
    }
    return static_cast<ivd_FSType_e>(g_fsTypeTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_FSTypeToText ( ivd_FSType_e  a_val  ) 

Definition at line 409 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), i_UIMessageServer_i::DisplayTable(), GetFSType(), i_PartitionManager_i::GetPartitionRecord(), and i_ResourceManager_i::UpdatePartition().

                                                 {
    return ivd_FindLiteralByVal(a_val, g_fsTypeTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char * ivd_GetErrorText ( const long  a_errorCode  ) 

Convert IVD error code to its textual description.

Definition at line 364 of file ivd_errorcodes.cpp.

References cmn_ErrorCode_t::description, and ie_SENTINEL.

Referenced by ivd_InternalError::GetErrorText(), ivd_Error::GetErrorText(), and ivd_DFError::GetErrorText().

                                                     {
    int i = 0;
    while (g_errorCodeTable[i].code != ie_SENTINEL &&
           g_errorCodeTable[i].code != a_errorCode) {
        i++;
    }

    return g_errorCodeTable[i].description;

}

Here is the caller graph for this function:

string ivd_JobStatusToText ( ivd_JobStatus_e  a_val  ) 

Definition at line 637 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                   {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_JobStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_JobTypeToText ( ivd_JobType_e  a_val  ) 

Definition at line 657 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by rm_Queue::Allocate(), hsm_HL7MessageProxy::Append(), i_UIMessageServer_i::DisplayDetail(), i_UIMessageServer_i::DisplayTable(), rm_DiskBuffer::DumpState(), i_Job_i::GetJobTypeText(), and ipc_Log::LogJobParams().

                                              {
    // Job has only one type, however bitflag is used by the CLI to limit
    // the jobs in display.
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_JobTypeTable).c_str();
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_LibraryStatusToText ( ivd_LibraryStatus_e  a_val  ) 

Definition at line 172 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                          {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_libraryStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_LibraryType_e ivd_LibraryType ( const string &  a_str  ) 

Definition at line 152 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_LibType::Assign().

                                                       {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_libraryTypeTable);
    if (g_libraryTypeTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("libraryType: ") + a_str);
    }
    return static_cast<ivd_LibraryType_e>(g_libraryTypeTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_LibraryTypeToText ( ivd_LibraryType_e  a_val  ) 

Definition at line 148 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_MediaFamily_e ivd_MediaFamily ( const string &  a_str  ) 

Definition at line 228 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_MediaFamilyType::Assign().

                                                       {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_mediaFamilyTable);
    if (g_mediaFamilyTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("mediaFamily: ") + a_str);
    }
    return static_cast<ivd_MediaFamily_e>(g_mediaFamilyTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_MediaFamilyToText ( ivd_MediaFamily_e  a_val  ) 
ivd_MediaType_e ivd_MediaType ( const string &  a_str  ) 

Definition at line 274 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by cfg_DriveType::cfg_DriveType().

                                                   {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_mediaTypeTable);
    if (g_mediaTypeTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("mediaType: ") + a_str);
    }
    return static_cast<ivd_MediaType_e>(g_mediaTypeTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_MediaFamily_e ivd_MediaTypeToFamily ( ivd_MediaType_e  a_val  ) 

Definition at line 283 of file ivd_literals.cpp.

Referenced by i_MediumDupl_i::CheckTargetMedium().

                                                              {
    return static_cast<ivd_MediaFamily_e>(a_val/10);
}

Here is the caller graph for this function:

const char* ivd_MediaTypeToText ( ivd_MediaType_e  a_val  ) 

Definition at line 270 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), i_UIMessageServer_i::DisplayTable(), cfg_DriveSettings::FindThreshold(), cfg_DriveVendor::GetThreshold(), and ipc_Log::LogMedium().

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_MediaVolStatusToText ( ivd_MediaVolStatus_e  a_val  ) 

Definition at line 343 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                            {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_MediaVolStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_MediumStatusToText ( ivd_MediumStatus_e  a_val  ) 

Definition at line 305 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                        {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_mediumStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_NotApplicableToText (  ) 

Definition at line 321 of file ivd_literals.cpp.

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                     {
    static const char* na_c("n/a");
    return na_c;
}

Here is the caller graph for this function:

string ivd_PartitionActivityToText ( ivd_PartitionActivity_e  a_val  ) 

Definition at line 596 of file ivd_literals.cpp.

References ivd_BitFlagToText(), and log_FUNC_m.

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_PartitionOptionsToText ( const UInt32_t  a_val  ) 

Definition at line 485 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                        {
    return ivd_BitFlagToText((a_val & 0xFFFF0000), g_partitionoptionsTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_PartitionStatusToText ( ivd_PartitionStatus_e  a_val  ) 

Definition at line 574 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                               {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_PartitionStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_PoolType_e ivd_PoolType ( const string &  a_str  ) 

Definition at line 364 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_PoolType::Assign().

                                                 {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_poolTypeTable);
    if (g_poolTypeTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("poolType: ") + a_str);
    }
    return static_cast<ivd_PoolType_e>(g_poolTypeTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_PoolTypeToText ( ivd_PoolType_e  a_val  ) 

Definition at line 360 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

Here is the call graph for this function:

Here is the caller graph for this function:

string ivd_SlotStatusToText ( ivd_SlotStatus_e  a_val  ) 

Definition at line 188 of file ivd_literals.cpp.

References ivd_BitFlagToText().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                    {
    return ivd_BitFlagToText(static_cast<UInt32_t>(a_val), g_SlotStatusTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_SlotType_e ivd_SlotType ( const string &  a_str  ) 

Definition at line 552 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

                                                 {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_slotTypeTable);
    if (g_slotTypeTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("slotType: ") + a_str);
    }
    return static_cast<ivd_SlotType_e>(g_slotTypeTable[idx].val);
}

Here is the call graph for this function:

const char* ivd_SlotTypeToText ( ivd_SlotType_e  a_val  ) 

Definition at line 548 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

Here is the call graph for this function:

Here is the caller graph for this function:

ivd_SysVolLocation_e ivd_SysVolLocation ( const string &  a_str  ) 

Definition at line 390 of file ivd_literals.cpp.

References bf_SENTINEL, ie_TYPE_NF, ivd_Error, ivd_FindLiteralByStr(), and cmn_Literal_t::val.

Referenced by val_SysVolLocationType::Assign().

                                                             {
    UInt32_t idx = ivd_FindLiteralByStr(a_str, g_sysVolLocationTable);
    if (g_sysVolLocationTable[idx].val == bf_SENTINEL) {
        throw ivd_Error(ie_TYPE_NF, string("sysVolLocation: ") + a_str);
    }
    return static_cast<ivd_SysVolLocation_e>(g_sysVolLocationTable[idx].val);
}

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_SysVolLocationToText ( ivd_SysVolLocation_e  a_val  ) 

Definition at line 386 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* ivd_VolTypeToText ( ivd_VolType_e  a_val  ) 

Definition at line 317 of file ivd_literals.cpp.

References ivd_FindLiteralByVal().

Referenced by i_UIMessageServer_i::DisplayDetail(), and i_UIMessageServer_i::DisplayTable().

                                                   {
    return ivd_FindLiteralByVal(a_val, g_VolTypeTable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void SetFSType ( ivd_FSType_e  a_fsType,
Int32_t a_bitMap 
)

Definition at line 445 of file ivd_literals.cpp.

References dbg_NORM, fst_REGULAR, fst_WORM, ie_SEMANTIC_ERROR, ivd_Error, log_DBG_m, log_FUNC_m, and log_WRN_m.

Referenced by SetPartitionOptions().

                                                        {
    log_FUNC_m(SetFSType);

    switch(a_fsType){
        case(fst_WORM):
            log_DBG_m(dbg_NORM, "Setting operation mode to WORM");
            //set WORM flag
            a_bitMap |= fst_WORM;
            a_bitMap &= ~fst_REGULAR;
            break;
        case(fst_REGULAR):
            if (a_bitMap & fst_WORM){
                throw ivd_Error(ie_SEMANTIC_ERROR,
                    "Changing of operation mode from WORM to regular is not allowed.");
            }
            log_DBG_m(dbg_NORM, "Setting operation mode to regular");
            a_bitMap |= fst_REGULAR;
            break;
        default:
            ostringstream msg;
            msg << "Operation mode not set " << static_cast<int>(a_fsType);
            log_WRN_m(msg.str());
            a_bitMap = fst_UNKNOWN;
    }
    log_DBG_m(dbg_NORM, "Partition FS Type set to: 0x" << hex << a_bitMap);
}

Here is the caller graph for this function:

void SetPartitionOptions ( Int32_t a_options,
void *  a_cfgPMClient_p 
)

Definition at line 489 of file ivd_literals.cpp.

References dbg_NORM, cfg_PMClient::disableAutMig, log_DBG_m, log_FUNC_m, cfg_PMClient::migrateWithCollocation, cfg_PMClient::operationMode, cfg_PMClient::recallOnOpen, cfg_PMClient::sendHl7Messages, and SetFSType().

Referenced by i_ManagementInterface_i::AddPartition(), i_ResourceManager_i::RegisterPartition(), and i_ResourceManager_i::UpdatePartition().

                                                                    {
    log_FUNC_m(SetPartitionOptions);

    cfg_PMClient* cfg_p = reinterpret_cast<cfg_PMClient*>(a_cfgPMClient_p);
    a_options = 0;

    SetFSType(cfg_p->operationMode, a_options);
    if (cfg_p->recallOnOpen == 1) {
        a_options |= rmdb_PARTITION_OPTION_RECALL_ON_OPEN;
    }

    if (cfg_p->sendHl7Messages == 1) {
        a_options |= rmdb_PARTITION_OPTION_SEND_HL7_MESSAGES;
    }

    if (cfg_p->migrateWithCollocation == 1) {
        a_options |= rmdb_PARTITION_OPTION_MIGRATE_WITH_COLLOCATION;
    }

    if (cfg_p->disableAutMig == 1) {
        a_options |= rmdb_PARTITION_OPTION_DISABLE_AUTOMATIC_MIGRATIONS;
    }
    log_DBG_m(dbg_NORM, "Partition options: 0x" << hex << a_options);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Initial value:
 {
    { bs_NOT_RUNNING,   "Not running"},
    { bs_RUNNING,       "Running"},
    { bs_PROCESSING,    "Processing"},

    { bf_SENTINEL,  "" }
}

Bea status.

Definition at line 666 of file ivd_literals.cpp.

Initial value:
 {
    { dc_WORM,          "WORM" },
    { dc_UNKNOWN,       "unknown" },

    { bf_SENTINEL,      "" }
}

DriveCapab.

Definition at line 517 of file ivd_literals.cpp.

Initial value:
 {
    { ds_ONLINE,        "online" },
    { ds_ERROR,         "error" },
    { ds_DISABLED,      "disabled" },
    { ds_INUSE,         "in use" },

    { bf_SENTINEL,      "" }
}

Drive Status.

Definition at line 196 of file ivd_literals.cpp.

Initial value:
 {
    {ie_NO_ERROR,           "No error." },
    {ie_SINGLETON_EXISTS,   "Singleton violation: Class instance already exists."},
    {ie_FILE_ERROR,         "File access error."},
    {ie_OUTOFMEM,           "Out of memory."},
    {ie_INVALID_ARG,        "Invalid arguments passed to a function."},
    {ie_NYI,                "Functionality not yet implemented."},
    {ie_STRING_TOO_LONG,    "String too long."},
    {ie_ARGUMENT_MISSING,   "Argument missing."},
    {ie_DATA_CORRUPTION,    "MAJOR INTERNAL ERROR: Data corruption detected."},
    {ie_IMPOSSIBLE,         "Shouldn't happen at all."},
    {ie_INV_FILE_NAME,      "Invalid file name."},
    {ie_MUTEX,              "Mutex usage error."},
    {ie_ENV_VAR_NOT_SET,    "Environment variable not set."},
    {ie_UUID,               "UUID can't be parsed."},
    {ie_TIMEOUT,            "Timeout expired."},
    {ie_NULLPTR,            "Pointer is NULL."},
    {ie_INVALID_STRING,     "String contains spaces at the beginning or at the end or contains new lines"},
    {ie_UNKNOWN_TYPE,       "Unknown Type."},
    {ie_STD_EXCEPTION,      "std::exception"},
    {ie_ABORT,              "Aborted."},
    {ie_NOT_SUPPORTED,      "Operation is not supported."},
    {ie_EXCEED_MAX_SIZE,    "Maximum size exceeded."},
    {ie_PRECONDITION,       "Precondition check failed."},
    {ie_PROCESS,            "Process execution problem."},
    {ie_NOTFOUND,           "Not found."},
    {ie_CONNECTIVITY,       "Network connectivity problem."},
    {ie_LOCALE,             "Internationalization problem."},
    {ie_ALREADY_IN_REORG,   "One or more volumes are already being reorganized."},
    {ie_NO_DISK_SPACE,      "No disk space."},
    {ie_EXECUTION_ERROR,    "Execution error."},
    {ie_FATAL_ERROR,        "FATAL ERROR."},

    {ie_RMDB_ERROR,         "Resource database error."},
    {ie_RMDB_INVALID_FK,    "Invalid foreign key."},
    {ie_RMDB_DUPL_UNIQUE,   "Duplicate unique value"},
    {ie_RMDB_CONNECTPROBLEM,"Problem with connection"},
    {ie_RMDB_NOTFOUND,      "Not found"},
    {ie_DRIVE_INDEX_DUPL,   "Duplicate drive index"},
    {ie_RM_ALLOC_DISKBUFF,  "Disk buffer allocation error."},


    {ie_NOJOBTYPE,          "Job type not valid or missing"},
    {ie_NO_RESOURCE_FOUND,  "No resources found"},
    {ie_PARTSTATDUPL,       "Partition already registered"},
    {ie_PARTSTATNF,         "Cannot find partition, not registered"},
    {ie_RELEASEERR,         "You want to release more drives than actually allocated"},
    {ie_JOBNOTFOUND,        "Job not found"},
    {ie_INVALID_TBL_SIZE,   "Table size not valid"},
    {ie_NO_MIG_ID_INIT,     "Migration ID generator should be initialized first"},



    {ie_JOB_NOT_FOUND,      "Job ID doesn't exist."},
    {ie_CFG_INVALID,        "Configuration error"},
    {ie_NO_COPIES,          "FSC did not return any set of copies for specific file ID."},
    {ie_JOB_REMOVED,        "Job was removed." },
    {ie_JOB_FAILED,         "Job failed." },
    {ie_NO_SPACE_FOR_BUFFER,"Not enough space for disk buffer." },
    {ie_REGISTER_NOT_ALLOWED,"Registration of HSM is not allowed."},
    {ie_VOL_NOT_FOUND,       "Volume not found."},
    {ie_NO_FILES,            "No files packed for migration."},
    {ie_NO_HSM,              "HSM not registered."},
    {ie_LOST_HSM,            "HSM registered, but is not accessible."},



    {ie_NOINSERT,           "Cannot insert object."},                               
    {ie_NOFINDOBJ,          "Cannot find object"},                                  
    {ie_EMPTYLIST,          "List is empty"},                                       
    {ie_NOTYPE,             "Wrong method call"},                                   
    {ie_HSM_NOEVENT,        "Event is empty or bad"},                               
    {ie_HSM_OBJEXIST,       "Object exists."},                                      
    {ie_HSM_NOINSTANCE,     "Object is NULL or is not created"},                    
    {ie_HSM_NOINODE,        "I-node is 0"},                                         
    {ie_HSM_NODEVFILE,      "Device file is not found or device file name is bad"}, 
    {ie_HSM_NOJOBLIST,      "No job list or list is empty"},                        
    {ie_HSM_NOHASH,         "Hash is zero. Cannot create HSM cache"},               
    {ie_HSM_NOFILEID,       "File has no file ID."},                                
    {ie_HSM_WRONGCONF,      "One or more configuration parameters are wrong"},      
    {ie_ERRORREAD,          "Read error"},                                          
    {ie_ERRORWRITE,         "Write error"},                                         
    {ie_NOMOUNT,            "Cannot get mount event"},                              
    {ie_STLNOTERASED,       "STL container ERASE method FAILED"},                   
    {ie_HSM_INVLIST,        "Wrong list position."},                                
    {ie_HSM_NOFILENAME,     "No file name"},                                        
    {ie_HSM_NOJOBIDX,       "Job indexes don't match"},                             
    {ie_HSM_NOIFILE,        "No migration file object"},                            
    {ie_HSM_OTHERLIST,      "File is not on expected list"},                        
    {ie_HSM_INVPATH,        "Path isn't valid"},                                    
    {ie_HSM_LONG_INO_LOCK,  "I-node is locked too long."},                          
    {ie_HSM_NOTDIRTY,       "Entry is not dirty."},                                 
    {ie_HSM_INODE_LOCK,     "File is locked by I-node."},                           
    {ie_HSM_INVTYPE,        "Invalid FS entry type."},                              
    {ie_HSM_INVJOBIDX,      "Job index exceeds vector size."},
    {ie_HSM_INVJOBELEMIDX,  "Job element index exceeds vector size."},
    {ie_HSM_NOTREADY,       "HSM is not ready to handle events from filter."},
    {ie_FSE_MOUNT_PENDING,  "Pre-mount event is waiting for same device."},
    {ie_FSE_NO_PREMOUNT,    "No pre-mount event is waiting for device."},
    {ie_FSE_MOUNT_EXISTS,   "Mount point is already defined."},
    {ie_HSM_INVJOBSTATUS,   "Invalid job status."},
    {ie_HSM_IVDFS_RECOVERY, "HSMFS recovery error."},
    {ie_FSE_VOL_NOTEXISTS,  "Volume UUID not found."},                              
    {ie_FSE_HSM_EXISTS,     "HSM already started. Unmount first."},
    {ie_FSE_VOL_DISABLED,   "Volume is disabled."},
    {ie_FSE_NTFS_ATTACHED,  "NTFS is attached without HSMFS filter."},
    {ie_HSM_MULTIPLE_ID,    "Different file IDs in HSMFS and cache."},
    {ie_HSM_COLLOCATION,    "Collocation ID."},
    {ie_HSM_MIG_RUNNING,    "Migration already requested."},
    {ie_HSM_EXCLUSIVE_FLAG, "Exlusive flag changed."},
    {ie_OTHER_HSM,          "Other HSM errors"},  





    {ie_PARSER_ERROR,       "Parser error."},
    {ie_UNKNOWN_VAR,        "Unknown variable encountered in validation."},
    {ie_NO_SUBGROUP,        "Target class doesn't have any subgroups."},
    {ie_NOT_VALID,          "Input value not valid in conversion."},
    {ie_TYPE_NF,            "Type not found in table of possible types"},
    {ie_MISSING_VAR,        "Missing entry for mandatory variable "},
    {ie_TOO_MANY_VAR,       "Entry parsed too many times"},

    {ie_AP_NOTENOUGH,       "Not enough parameters for option or command: "},
    {ie_AP_SYNERR,          "Syntax error: can't resolve argument: "},
    {ie_AP_NOOPTION,        "Missing option."},

    
    
    {ie_AP_INVARGTYPE,      "Internal error! Invalid argument type. Check ap.cpp: "},
    {ie_AP_ALREADYEXIST,    "Internal error! Same option already exists: "},
    {ie_AP_INVGROUPTYPE,    "Internal error! Invalid group type: "},



    {ie_RECORD_TOO_LARGE,           "Not enough space to store whole record to file."},
    {ie_RECORD_TOO_SMALL,           "Data can't fit in record."},
    {ie_REL_FILE_HEADER_INV,        "Invalid relative file header."},
    {ie_REL_FILE_INDEX_INV,         "Invalid relative file record index."},
    {ie_REL_FILE_VEC_SIZE_INV,      "Invalid vector size."},
    {ie_TRANSACTION_NOT_STARTED,    "Transaction is not started"},

    {ie_DUPLICATE_REL_FILE_ID,      "Duplicate relative file ID"},
    {ie_REL_FILE_NO_TRANS_OBJ,      "Transaction object missing."},
    {ie_INV_ALTERATION,             "Invalid alteration record value."},
    {ie_INV_ENDTRANS_T_VERSION,     "Invalid end transaction structure version."},
    {ie_INV_STARTTRANS_T_VERSION,   "Invalid start transaction structure version."},
    {ie_INV_ALTER_T_VERSION,        "Invalid alter structure version."},
    {ie_NOT_ENDTRANS_T,             "Record is not end transaction structure"},
    {ie_NOT_STARTTRANS_T,           "Record is not start transaction structure"},
    {ie_NOT_ALTER_T,                "Record is not alter structure"},
    {ie_INV_TRANSACTION,            "Invalid transaction."},
    {ie_REL_FILE_TRAN_NULL_DB,      "Relative file transaction must have pointer to DB."},
    {ie_TRANS_TO_MUCH_INSTANCES,    "Too many transaction instances"},
    {ie_PERM_DB_INFO_HEADER_INV,    "Invalid DB info header"},
    {ie_TRANS_EXCEED_JOUR_SPACE,    "Reserved space in journal file was filled by a transaction."},
    {ie_UV_NOT_IN_BUFFER,           "Unused vector is not in buffer"},
    {ie_INV_UNUSED_VECT_STRUCT,     "Invalid unused vector structure"},
    {ie_INV_HEADER_POSITION,        "Invalid header position"},
    {ie_CIR_FILE_HEADER_INV,        "Invalid circular file header."},
    {ie_INV_JOUR_FILE_HEADER,       "Invalid journal file header."},
    {ie_READ_AFTER_EOF,             "Read after the end of relative file. Index overflow."},
    {ie_JOUR_FILE_MISSING,          "Journal file missing."},
    {ie_UV_ALREADY_IN_BUFFER,       "Unused vector already in buffer."},

    {ie_IPC_ORB,                    "Cannot initialize CORBA ORB."},
    {ie_IPC_NAMESERVICE,            "Problems accessing CORBA Naming Service."},
    {ie_IPC_RESOLVE,                "Can't resolve object name to reference."},
    {ie_IPC_REGISTER,               "Can't register object reference in Naming Service."},
    {ie_IPC_ORB_EXCEPTION,          "Caught Corba exception." },
    {ie_IPC_OBJ_ACTIVE,             "Object that is registered in NS is still active." },
    {ie_IPC_UNKNOWN_ORB_EXCEPTION,  "Unknown CORBA exception."},
    {ie_IPC_UNKNOWN_IVD_EXCEPTION,  "Unknown exception."},
    {ie_IPC_MIF,                    "Cannot connect to Management Interface - probably not running."},
    {ie_IPC_UIMS,                   "Cannot setup UI message server."},
    {ie_IPC_FATAL,                  "FATAL IPC ERROR: Can't continue."},

    


    {ie_MIF_LA_PROBLEM,                     "Problems with Library Agent of this library."},
    {ie_MIF_BEA_PROBLEM,                    "Problems with Back End Agent."},
    {ie_MIF_RM_PROBLEM,                     "Problems with Resource Manager."},
    {ie_MIF_UIPACKER,                       "Packer Error"},
    {ie_MIF_PARTITION_MGR,                  "Problems starting/stopping partition managers from MIF."},

    {ie_REMOVE_ERROR,                       "Remove Error. "},
    {ie_UPDATE_ERROR,                       "Update Error. "},
    {ie_SELECT_ERROR,                       "Select Error. "},

    {ie_SEMANTIC_ERROR,                     "Semantic Error."},
    {ie_SYNTAX_ERROR,                       "Syntax Error."},
    {ie_UNKNOWN_STATUS,                     "Unknown Status"},

    {ie_MED_VOL_HDR_EXISTS,                  "Medium has HSM or ECMA volume header."},
    {ie_MEDIUM_PARTITIONED,                  "Medium has more than one volume."},
    {ie_MEDIUM_UNKNOWNPOOL,                  "Medium does not belong to any media pool."},

    {ie_MIF_CFG_CONFIG_FILE_UNKNOWN,        "Configuration file not recognized."},
    {ie_MIF_CFG_REVISION_OUT_OF_RANGE,      "Configuration revision out of range (0-MaxCfgRevs). Could not store revision file in CfgDB repository."},
    {ie_MIF_CFG_REVISION_NONEXISTENT,       "This configuration revision does not exist."},
    {ie_MIF_CFG_TROUBLE_IN_REPOSITORY,      "Problem handling configuration files inside CfgDB repository."},
    {ie_MIF_CFG_ALREADY_CONFIGURED,         "Resource already configured."},
    {ie_MIF_CFG_RENAMING_NOT_ALLOWED_YET,   "Renaming objects in RMDB is not allowed yet."},
    {ie_MIF_CFG_ILLEGAL_NAME,               "There's illegal name specified for a configuration object."},

    {ie_MIF_CFG_SEMANTIC_ERROR,             "Semantic error in configuration file."},
    {ie_MIF_CFG_SYNTAX_ERROR,               "Syntax error in configuration file."},
    {ie_MIF_CFG_HEADER_ERROR,               "Erroneous configuration file header."},
    {ie_MIF_CFG_UNKNOWN_ERROR,              "Error managing CfgDB."},

    

    {ie_DF_BLOCKFULL,               "Data block is full."},
    {ie_DF_INV_BLK,                 "Invalid block contents detected."},
    {ie_DF_CLOSED,                  "Block already closed."},
    {ie_DF_EOD,                     "End of data detected."},
    {ie_DF_INVSTATE,                "Invalid state of Data Format library detected."},
    {ie_DF_INVSEQ,                  "Invalid record sequence."},
    {ie_DF_INVBLKCOOKIE,            "Invalid block magic cookie."},
    {ie_DF_INVRECCOOKIE,            "Invalid record magic cookie."},
    {ie_DF_INVBLKSEQNUM,            "Invalid block sequence number."},
    {ie_DF_INVRECSEQNUM,            "Invalid record sequence number."},
    {ie_DF_INVSTREAMFMT,            "Byte stream in invalid format."},
    {ie_DF_HDRCORRUPT,              "Corrupted volume header."},
    {ie_DF_WRITER_UP,               "BLKMGR: Writer already running. No more readers allowed."},
    {ie_DF_SSIZE,                   "Byte stream size mismatch."},
    {ie_DF_RETHROWN,                "Re-thrown error from other thread."},
    {ie_DF_LIM_STREAM_MISSING,      "Limited-stream missing."},
    {ie_DF_BROKEN_PIPE,             "Broken pipe."},

    {ie_MEDIUM_BLANK,               "Blank check."},
    {ie_MEDIUM_EOD,                 "End of data."},
    {ie_MEDIUM_EOM,                 "Early end of medium."},
    {ie_MEDIUM_FILEMARK,            "Filemark/setmark detected."},
    {ie_MEDIUM_OVERFLOW,            "Medium overflow (physical EOM)."},
    {ie_MEDIUM_PROTECTED,           "Medium protected."},
    {ie_MEDIUM_ILENGTH,             "Incorrect block length."},

    {ie_SCSI_STATUS,                "Invalid SCSI status."},

    {ie_SCSI_SENSE,                 "Critical sense key."},
    {ie_SCSI_NOT_READY,             "Device not ready."},
    {ie_SCSI_MEDERR,                "Medium error."},
    {ie_SCSI_HWERR,                 "Hardware error."},
    {ie_SCSI_UNIT_ATT,              "Unit attention. Medium changed or target reset."},
    {ie_SCSI_ILREQ,                 "Illegal request"},
    {ie_SCSI_NO_MEDIUM,             "No medium in drive."},
    {ie_SCSI_DESTFULL,              "Move failed: Destination full."},
    {ie_SCSI_SRCEMPTY,              "Move failed: Source empty."},

    {ie_SCSI_RETRY,                 "Retryable error (device busy or command aborted)."},
    {ie_SCSI_OPEN,                  "Error opening SCSI device."},
    {ie_SCSI_CLOSE,                 "Error closing SCSI device."},
    {ie_SCSI_DRIVER,                "SCSI driver error."},
    {ie_SCSI_HOST,                  "SCSI host error."},
    {ie_SCSI_INVRESULT,             "SCSI invalid result."},

    {ie_FSC_INV_DATA_TYPE,          "Invalid data type"},
    {ie_FSC_INV_SPLIT_INFO,         "Split information is wrong."},
    {ie_FSC_TOO_MUCH_COPIES,        "Too many copies in the same generation."},
    {ie_FSC_NOCOPIES,               "No copies found."},
    {ie_FSC_TOOHIGH_MEDVOLNUM,      "Media volume number exceeds limit."},
    {ie_FSC_NO_MEDVOLFILE,          "No media volume file found."},
    {ie_FSC_CHANGEONCHAGE,          "Successive change of data."},
    {ie_FSC_INV_GENERATION_NUM,     "Number of generations doesn't match."},
    {ie_FSC_NODATA,                 "No data,"},
    {ie_FSC_NONSCELEMENTOBJ,        "No NSC element object."},
    {ie_FSC_NOTREADY,               "FSC is busy. Possible: Reply from journal in progress."},
    {ie_FSC_ERROR,                  "FSC DB error."}, 


    {ie_BEA_INVPOS,                 "Invalid volume position."},
    {ie_BEA_INVVOLFMT,              "Invalid volume format (not HSM)."},
    {ie_BEA_INVVOLID,               "Invalid volume ID."},
    {ie_BEA_INVDEVTYPE,             "Invalid device type (expected TAPE)."},

    {ie_BEA_MICSIZE,                "Invalid size of parameter in MIC."},
    {ie_BEA_MICCONTENTS,            "Invalid contents of parameter in MIC."},

    {ie_BEA_INIT,                   "Initialization is not allowed."},
    {ie_BEA_FORMAT,                 "Formatting is not allowed."},
    {ie_BEA_HWID,                   "Hardware ID doesn't match."},
    {ie_BEA_WORM,                   "WORM media/drive/pool mismatch."},
    {ie_BEA_FRI,                    "Error while handling the FRI."},

    {ie_LA_INVDEVTYPE,              "Invalid device type (expected MEDIA CHANGER)."},
    {ie_LA_INVBARCODE,              "Invalid barcode in slot or drive."},
    {ie_LA_OPEN,                    "Can't open tape library."},
    {ie_LA_OUTOFRANGE,              "Drive index out of range."},
    {ie_LA_UNCONFIGURED,            "Drive is not configured in the RMDB."},
    {ie_LA_MOUNTDENY,               "Mount request denied by user."},
    {ie_LA_UNSUPPORTED,             "Unsupported tape library."},

    {ie_HSMDB_ERROR,                "Error in HSM DB"},

    {ie_BAK_SUSPEND,                "bak: Can's perform suspend."},
    {ie_BAK_CONTINUE,               "bak: Can's perform continue."},

    {ie_NO_CONFIRM,                 "Confirmation failed."},

    
    {ie_SENTINEL,                   "Undescribed error."}
}

Global table of IVD specific error codes and it's textual representations.

ie_ prefix means IVD Error.

Definition at line 55 of file ivd_errorcodes.cpp.

Initial value:
 {
    { fst_REGULAR,      "regular" },
    { fst_WORM,         "WORM" },
    { fst_UNKNOWN,      "unknown" },

    { bf_SENTINEL,      "" }
}

FSType.

Definition at line 401 of file ivd_literals.cpp.

Job Status.

Definition at line 604 of file ivd_literals.cpp.

Initial value:
 {
    { js_UNKNOWN,   "unknown"},
    { jt_RECALL,    "recall" },
    { jt_MIGRATION, "migration" },
    { jt_REORG,     "reorg" },
    { jt_ADMIN,     "admin" },
    { jt_BACKUP,    "backup" },
    { jt_RECOVERY,  "recovery" },
    { jt_MAINT,     "maintenance" },

    { bf_SENTINEL,  "" }
}

Job Type.

Definition at line 644 of file ivd_literals.cpp.

Initial value:
 {
    { ls_ONLINE,        "online" },
    { ls_ERROR,         "error" },
    { ls_DISABLED,      "disabled" },

    { bf_SENTINEL,      "" }
}

Library Status.

Definition at line 164 of file ivd_literals.cpp.

Initial value:
 {
    { lt_SCSI,          "SCSI" },
    { lt_MANUAL,        "manual" },
    { lt_UNKNOWN,       "unknown" },

    { bf_SENTINEL,      "" }
}

LibraryType.

Definition at line 140 of file ivd_literals.cpp.

Initial value:
 {
    { mf_AIT,           "AIT" },
    { mf_LTO,           "LTO" },
    { mf_DDS,           "DDS" },
    { mf_SAIT,          "SAIT" },
    { mf_DISK,          "disk" },
    { mf_VXA,           "VXA" },
    { mf_UNKNOWN,       "unknown" },

    { bf_SENTINEL,      "" }
}

MediaFamily.

Definition at line 212 of file ivd_literals.cpp.

Initial value:
 {
    { mt_AIT_1,         "AIT-1" },
    { mt_AIT_1_WORM,    "AIT-1-WORM" },
    { mt_AIT_2,         "AIT-2" },
    { mt_AIT_2_WORM,    "AIT-2-WORM" },
    { mt_AIT_3,         "AIT-3" },
    { mt_AIT_3_WORM,    "AIT-3-WORM" },
    { mt_AIT_5,         "AIT-5" },
    { mt_AIT_5_WORM,    "AIT-5-WORM" },
    { mt_SAIT_1,        "SAIT-1" },
    { mt_LTO_1,         "LTO-1" },
    { mt_LTO_2,         "LTO-2" },
    { mt_LTO_3,         "LTO-3" },
    { mt_LTO_3_WORM,    "LTO-3-WORM" },
    { mt_LTO_4,         "LTO-4" },
    { mt_LTO_4_WORM,    "LTO-4-WORM" },
    { mt_LTO_5,         "LTO-5" },
    { mt_LTO_5_WORM,    "LTO-5-WORM" },
    { mt_LTO_6,         "LTO-6" },
    { mt_LTO_6_WORM,    "LTO-6-WORM" },
    { mt_DDS_1,         "DDS-1" },
    { mt_DDS_2,         "DDS-2" },
    { mt_DDS_3,         "DDS-3" },
    { mt_DDS_4,         "DDS-4" },
    { mt_DISK,          "disk" },
    { mt_VXA_320,       "VXA-320" },
    { mt_UNKNOWN,       "unknown" },

    { bf_SENTINEL,      "" }
}

MediaType.

Definition at line 239 of file ivd_literals.cpp.

Initial value:
 {
    { mvs_EMPTY,            "empty" },
    { mvs_OPEN,             "open" },
    { mvs_FULL,             "full" },
    { mvs_ERROR,            "error" },
    { mvs_RECOVER,          "recovery" },
    { mvs_REORG_SCANNED,    "scanned" },
    { mvs_REORG_INREORG,    "in reorg" },
    { mvs_REORG_RECYCLED,   "recycled" },

    { bf_SENTINEL,  "" }
}

MediaVol Status.

Definition at line 330 of file ivd_literals.cpp.

Initial value:
 {
    { ms_UNKNOWN,       "unknown" },
    { ms_INUSE,         "in use" },
    { ms_OPEN,          "open" },
    { ms_UNUSABLE,      "unusable" },
    { ms_UNRELIABLE,    "unreliable" },
    { ms_OFFLINE,       "offline" },
    { ms_FULL,          "full" },
    { ms_FREE,          "free" },
    { ms_UNINITIALIZED, "uninitialized" },

    { bf_SENTINEL,  "" }
}

Medium Status.

Definition at line 291 of file ivd_literals.cpp.

Initial value:
 {
    { pa_IDLE,              "idle" },
    { pa_JOBSRUNNING,       "job(s) running" },
    { pa_NOPM,              "PM not running" },
    { pa_REORGSCANINPROG,   "reorg scan in progress" },
    { pa_PMUNREACHABLE,     "PM unreachable" },
    { pa_HSMUNREACHABLE,    "HSM unreachable" },
    { pa_RECOVERYINPROG,    "recovery in progress" },
    { pa_RECOVERYPENDING,   "recovery pending" },
    { pa_MOUNTINPROG,       "mount in progress" },
    { pa_UNKNOWN,           "unknown" },

    { bf_SENTINEL,  "" }
}

Partition Activity.

Definition at line 581 of file ivd_literals.cpp.

Initial value:
 {
    { 0,                                                    "none" },
    { rmdb_PARTITION_OPTION_DISABLE_AUTOMATIC_MIGRATIONS,   "disable automatic migrations" },
    { rmdb_PARTITION_OPTION_RECALL_ON_OPEN,                 "recall on open" },
    { rmdb_PARTITION_OPTION_SEND_HL7_MESSAGES,              "send HL7 messages" },
    { rmdb_PARTITION_OPTION_MIGRATE_WITH_COLLOCATION,       "migrate with collocation" },

    { bf_SENTINEL,      "" }
}

Partition options.

Definition at line 475 of file ivd_literals.cpp.

Initial value:
 {
    { ps_READY,             "ready" },
    { ps_DISABLED,          "disabled" },
    { ps_RECOVERYMODE,      "recovery mode" },
    { ps_MOUNTED,           "mounted" },
    { ps_ERROR,             "error" },
    { ps_UNKNOWN,           "unknown" },

    { bf_SENTINEL,  "" }
}

Partition Status.

Definition at line 563 of file ivd_literals.cpp.

Initial value:
 {
    { pt_Regular,       "regular" },
    { pt_Backup,        "backup" },
    { pt_WORM,          "WORM" },
    { pt_UNKNOWN,       "unknown" },

    { bf_SENTINEL,      "" }
}

PoolType.

Definition at line 351 of file ivd_literals.cpp.

Initial value:
 {
    { ss_FREE,        "free" },
    { ss_SLOTINUSE,   "in use" },
    { ss_RESERVED,    "reserved" },
    { ss_FULL,        "full" },
    { ss_UNKNOWN,     "unknown" },

    { bf_SENTINEL,      "" }
}

Slot Status.

Definition at line 178 of file ivd_literals.cpp.

Initial value:
 {
    { st_REPOSITORY, "repository" },
    { st_MAIL,       "mail" },
    { st_CLEAN,      "clean" },

    { bf_SENTINEL,      "" }
}

SlotType.

Definition at line 540 of file ivd_literals.cpp.

Initial value:
 {
    { svl_NONE,         "none" },
    { svl_FIRST,        "first" },
    { svl_MIDDLE,       "middle" },
    { svl_LAST,         "last" },
    { svl_UNKNOWN,      "unknown" },

    { bf_SENTINEL,      "" }
}

SysVolLocation.

Definition at line 376 of file ivd_literals.cpp.

Initial value:
 {
    { vt_DATA_VOLUME,     "data" },
    { vt_SYSTEM_VOLUME,   "system" },
    { vt_UNKNOWN,         "unknown" },

    { bf_SENTINEL,      "" }
}

Definition at line 309 of file ivd_literals.cpp.