Matrix Science header
Public Types | Public Member Functions

ms_errs Class Reference
[Shared classes for handling errors and warnings in Mascot Parser modules]

All errors are collected in an instance of this class. More...

#include <ms_errors.hpp>

List of all members.

Public Types

enum  err {
  ERR_NO_ERROR = 0x0000,
  ERR_NOMEM = 0x0001,
  ERR_NOSUCHFILE = 0x0002,
  ERR_READINGFILE = 0x0003,
  ERR_QUERYOUTOFRANGE = 0x0004,
  ERR_MISSINGENTRY = 0x0005,
  ERR_PEPSUMMPEPGET = 0x0006,
  ERR_PEPTIDESTR = 0x0007,
  ERR_ACCINPEPTIDESTR = 0x0008,
  ERR_PROTSUMM = 0x0009,
  ERR_PROTSUMMPEP = 0x000A,
  ERR_ADDPEPTIDES = 0x000B,
  ERR_MISSINGHIT = 0x000C,
  ERR_MISSINGSECTION = 0x000D,
  ERR_MISSINGSECTIONEND = 0x000E,
  ERR_MALFORMED_ERR_TOL = 0x000F,
  ERR_NO_ERR_TOL_PARENT = 0x0010,
  ERR_NULL_ACC_PEP_SUM = 0x0011,
  ERR_NULL_ACC_PROT_SUM = 0x0012,
  ERR_DUPE_ACCESSION = 0x0013,
  ERR_UNASSIGNED_PROG = 0x0014,
  ERR_UNASSIGNED_RANGE = 0x0015,
  ERR_UNASSIGNED_UNK = 0x0016,
  ERR_NO_UNIGENE_FILE = 0x0017,
  ERR_DUPLICATE_KEY = 0x0018,
  ERR_OLDRESULTSFILE = 0x0019,
  ERR_MALFORMED_TAG = 0x001A,
  ERR_MALFORMED_DRANGE = 0x001B,
  ERR_INVALID_NUMQUERIES = 0x001C,
  ERR_MALFORMED_TERMS = 0x001D,
  ERR_INVALID_RESFILE = 0x001E,
  ERR_INVALID_PROTDB = 0x001F,
  ERR_UNIGENE_MULTIDB = 0x0020,
  ERR_INVALID_CACHE_DIR = 0x0021,
  ERR_FAIL_OPEN_DAT_FILE = 0x0022,
  ERR_MISSING_CDB_FILE = 0x0023,
  ERR_FAIL_MK_CACHE_DIR = 0x0024,
  ERR_FAIL_MK_CDB_FILE = 0x0025,
  ERR_FAIL_CLOSE_FILE = 0x0026,
  ERR_FAIL_CDB_INIT = 0x0027,
  ERR_INVALID_CDB_FILE = 0x0028,
  ERR_WRITE_CDB_FILE = 0x0029,
  ERR_CDB_TOO_LARGE = 0x002A,
  ERR_NEED_64_BIT = 0x002B,
  ERR_CDB_64_BIT_REMAKE = 0x002C,
  ERR_CDB_OLD_VER_RETRY = 0x002D,
  ERR_CDB_OLD_VER_NO_RETRY = 0x002E,
  ERR_CDB_INCOMPLETE_RETRY = 0x002F,
  ERR_CDB_INCOMPLETE_NO_RETRY = 0x0030,
  ERR_CDB_BEING_CREATED = 0x0031,
  ERR_CDB_FAIL_REMOVE = 0x0032,
  ERR_CDB_FAIL_LOCK = 0x0033,
  ERR_CDB_FAIL_UNLOCK = 0x0034,
  ERR_CDB_SOURCE_CHANGE_RETRY = 0x0035,
  ERR_CDB_SOURCE_CHANGE_NO_RETRY = 0x0036,
  ERR_MISSING_PERCOLATOR_FILE = 0x0037,
  ERR_CANNOT_APPEND_RESFILE = 0x0038,
  ERR_CANNOT_APPEND_RESFILE_NO_FNAMES = 0x0039,
  ERR_RESULTS_NOT_CREATED = 0x003A,
  ERR_MSP_FAILED_TO_OPEN_FILE = 0x0100,
  ERR_MSP_FAILED_TO_CLOSE_FILE = 0X0101,
  ERR_MSP_FAIL_STAT = 0x0102,
  ERR_MSP_GET_VOLUME_INFO = 0x0103,
  ERR_MSP_FILE_DOESNT_EXIST = 0x0104,
  ERR_MSP_FAIL_GET_PROCESS_AFFINITY = 0x0105,
  ERR_MSP_SYSMP_FAIL = 0x0106,
  ERR_MSP_FAIL_GET_SYSINFO = 0x0107,
  ERR_MSP_FAILED_TO_WRITE_FILE = 0x0108,
  ERR_MSP_FAIL_UTIME = 0x0109,
  ERR_MSP_FRAGMENTATION_RULES = 0x0200,
  ERR_MSP_IN_MASSES_FILE = 0x0300,
  ERR_MSP_INVALID_MASS_IN_MASSES_FILE = 0x0301,
  ERR_MSP_DUPLICATE_MOD = 0x0400,
  ERR_MSP_RESIDUE_AND_TERMINUS_MOD = 0x0401,
  ERR_MSP_TOO_MANY_MODS_IN_MOD_FILE = 0x0402,
  ERR_MSP_NO_COMMAS_IN_MOD_NAME = 0x0403,
  ERR_MSP_IN_MODS_FILE = 0x0404,
  ERR_MSP_MISSING_DEFINITION_END = 0x0405,
  ERR_MSP_NO_SUCH_MOD = 0x0406,
  ERR_MSP_ENZYME_FILE_FORMAT = 0x0500,
  ERR_MSP_MISSING_ENZYME_TITLE = 0x0501,
  ERR_MSP_ENZYME_DEFINITION_PROBLEM = 0x0502,
  ERR_MSP_ENZYME_TOO_MANY_RULES = 0x0503,
  ERR_MSP_MISSING_MASCOT_DAT = 0x0601,
  ERR_MSP_DB_USES_MISSING_RULE = 0x0602,
  ERR_MSP_COMPILE_PARSE_RULE = 0x0603,
  ERR_MSP_NEED_1_EXP_IN_PARSE_RULE = 0x0604,
  ERR_MSP_IN_MASCOT_DAT_DB_SECT = 0x0605,
  ERR_MSP_IN_OPTIONS_SECTION = 0x0606,
  ERR_MSP_IN_CLUSTER_SECTION = 0x0607,
  ERR_MSP_TOO_MANY_CPUS_IN_SUB_CLUSTER = 0x0608,
  ERR_MSP_CRON_TOO_MANY_JOBS = 0x0609,
  ERR_MSP_INVALID_PARSE_RULE = 0x060A,
  ERR_MSP_INVALID_PARSE_RULE_NO = 0x060B,
  ERR_MSP_RULE_NO_ALREADY_DEFINED = 0x060C,
  ERR_MSP_MISSING_QUOTE_IN_PARSE_RULE = 0x060D,
  ERR_MSP_PARSE_LEN_EXCEED = 0x060E,
  ERR_MSP_IN_TAXONOMY_SECTION = 0x060F,
  ERR_MSP_INCOMPATIBLE_TAX_RULES = 0x0610,
  ERR_MSP_MAX_PREFIX_REMOVES = 0x0611,
  ERR_MSP_MAX_SUFFIX_REMOVES = 0x0612,
  ERR_MSP_MAX_TAX_NO_BREAKS = 0x0613,
  ERR_MSP_CRON_INVALID_CHAR = 0x0614,
  ERR_MSP_CRON_INVALID_NUMBER = 0x0615,
  ERR_MSP_CRON_INVALID_STAR = 0x0616,
  ERR_MSP_CRON_NO_NUM_BEFORE_COMMA = 0x0617,
  ERR_MSP_CRON_NO_NUM_BEFORE_MINUS = 0x0618,
  ERR_MSP_INVALID_PROCESSOR_LINE = 0x0619,
  ERR_MSP_PROCESSOR_NOT_IN_SET = 0x061A,
  ERR_MSP_SPECIFY_UNAVAILABLE_PROCESSOR = 0x061B,
  ERR_MSP_TOO_MANY_PROCESSORS = 0x061C,
  ERR_MSP_TOO_MANY_TH_PROCESSORS = 0x061D,
  ERR_MSP_WWW_SECTION = 0x061E,
  ERR_MSP_DUP_TAXONOMYRULE = 0x061F,
  ERR_MSP_WRONG_ICAT_FILTER = 0x0620,
  ERR_MSP_EXEC_AFTER_SEARCH_INVALID = 0x0621,
  ERR_MSP_EXEC_AFTER_SEARCH_DEPENDS = 0x0622,
  ERR_MSP_EXEC_AFTER_SEARCH_LOGGING = 0x0623,
  ERR_MSP_REPORTBUILDERCOLARR_INVALID = 0x0624,
  ERR_MSP_UNEXPECTED_LINE_OUT_OF_SECT = 0x0625,
  ERR_MSP_MISSING_SECTION = 0x0626,
  ERR_MSP_NO_REGEX_MATCH = 0x0627,
  ERR_MSP_REGEX_ERROR = 0x0627,
  ERR_MSP_COLOURSCHEME_INVALID = 0x0628,
  ERR_MSP_NO_LICENSE_FILE = 0x0700,
  ERR_MSP_LICENSE_DES_CHECKSUM = 0x0701,
  ERR_MSP_LICENSE_LINE_CHECKSUM = 0x0702,
  ERR_MSP_LICENSE_NOT_YET_AVAIL = 0x0703,
  ERR_MSP_LICENSE_EXPIRED = 0x0704,
  ERR_MSP_LICENSE_INTERNAL_CONFIG = 0x0705,
  ERR_MSP_LICENSE_LINE_INVALID = 0x0706,
  ERR_MSP_XML_SYSTEM_FAILED = 0x0801,
  ERR_MSP_XML_NO_ROOT_ELEMENT = 0x0802,
  ERR_MSP_XML_TABLE_NOTFOUND = 0x0803,
  ERR_MSP_XML_FIELD_NOTFOUND = 0x0804,
  ERR_MSP_XML_INVALID_FIELD_FORMAT = 0x0805,
  ERR_MSP_XML_LOCAL_SCHEMA_NOT_STORED = 0x0806,
  ERR_MSP_XML_ELEMENT_NOT_FOUND = 0x0807,
  ERR_MSP_XML_MEMORY_ERROR = 0x0808,
  ERR_MSP_HTTP_TRANSMISSION_FAILED = 0x0901,
  ERR_MSP_HTTP_INVALID_URL = 0x0902,
  ERR_MSP_MASCOT_NOT_RUNNING = 0x0903,
  ERR_MSP_CONFLICT_BETWEEN_MODS = 0x0A01,
  ERR_MSP_WRONG_MOD_VECTOR = 0x0A02,
  ERR_MSP_MOD_MUST_BE_VAR = 0x0A03,
  ERR_MSP_MALFORMED_PEPTIDE = 0x0A04,
  ERR_MSP_DOUBLE_CHARGE_NOT_ALLOWED = 0x0A05,
  ERR_MSP_NO_ENZYME_SET = 0x0A06,
  ERR_MSP_EMPTY_MOD = 0x0A07,
  ERR_MSP_TAXONOMY_NO_TITLE = 0x0B01,
  ERR_MSP_TAXONOMY_NO_COMMAS = 0x0B02,
  ERR_MSP_TAXONOMY_WRONG_LINE = 0x0B03,
  ERR_MSP_TAXONOMY_DEFINITION_END = 0x0B04,
  ERR_MSP_TAXONOMY_CONFLICT_PARENTS = 0x0B05,
  ERR_MSP_TAXONOMY_INVALID_NODE_FILE = 0x0B06,
  ERR_MSP_TAXONOMY_MISSING_NODE_FILE = 0x0B07,
  ERR_MSP_SECURITY_INVALID_SESSION_ID = 0x1000,
  ERR_MSP_SECURITY_NOT_ADMIN_SESSION = 0x1001,
  ERR_MSP_SECURITY_DUPE_USER_ID = 0x1002,
  ERR_MSP_SECURITY_DUPE_USER_NAME = 0x1003,
  ERR_MSP_SECURITY_BAD_USER_NAME = 0x1004,
  ERR_MSP_SECURITY_USERNAME_NOT_FOUND = 0x1005,
  ERR_MSP_SECURITY_USERID_NOT_FOUND = 0x1006,
  ERR_MSP_SECURITY_DUPE_GROUP_ID = 0x1007,
  ERR_MSP_SECURITY_DUPE_GROUP_NAME = 0x1008,
  ERR_MSP_SECURITY_BAD_GROUP_NAME = 0x1009,
  ERR_MSP_SECURITY_GROUPNAME_NOT_FOUND = 0x100A,
  ERR_MSP_SECURITY_GROUPID_NOT_FOUND = 0x100B,
  ERR_MSP_SECURITY_FAIL_LOAD_SEC = 0x100C,
  ERR_MSP_SECURITY_FAIL_LOAD_USER = 0x100D,
  ERR_MSP_SECURITY_FAIL_LOAD_GROUP = 0x100E,
  ERR_MSP_SECURITY_DEL_SPECIAL_GROUP = 0x100F,
  ERR_MSP_SECURITY_DEL_SPECIAL_USER = 0x1010,
  ERR_MSP_SECURITY_DISABLE_ADMIN = 0x1011,
  ERR_MSP_SECURITY_DEL_ADMIN_RIGHTS = 0x1012,
  ERR_MSP_SECURITY_DEL_ADMIN_FROM_GP = 0x1013,
  ERR_MSP_SECURITY_DUPE_GROUP_NAME_U = 0x1014,
  ERR_MSP_SECURITY_DUPE_USER_NAME_U = 0x1015,
  ERR_MSP_SECURITY_OLD_PW_INVALID = 0x1016,
  ERR_MSP_SECURITY_NO_GUEST_PWD = 0x1017,
  ERR_MSP_SECURITY_PASSWORD_TOO_SHORT = 0x1018,
  ERR_MSP_SECURITY_FAIL_SAVE_SEC = 0x1019,
  ERR_MSP_SECURITY_NO_RIGHTS_UPD_USR = 0x101A,
  ERR_MSP_SECURITY_INVALIDUSER = 0x1101,
  ERR_MSP_SECURITY_INVALIDPASSWORD = 0x1102,
  ERR_MSP_SECURITY_MISSINGSESSIONFILE = 0x1103,
  ERR_MSP_SECURITY_SAVESESSIONFILE = 0x1104,
  ERR_MSP_SECURITY_TIMEDOUT = 0x1105,
  ERR_MSP_SECURITY_DIFFERENTIPADDR = 0x1106,
  ERR_MSP_SECURITY_PASSWORDEXPIRED = 0x1107,
  ERR_MSP_SECURITY_NOTLOGGEDIN = 0x1108,
  ERR_MSP_SECURITY_INVALIDSESSION = 0x1109,
  ERR_MSP_SECURITY_NOSAVEPARAMS = 0x110A,
  ERR_MSP_SECURITY_SESSIONDESTROYED = 0x110B,
  ERR_MSP_SECURITY_NOCREATEGUEST = 0x110C,
  ERR_MSP_SECURITY_UPDATESESS = 0x110D,
  ERR_MSP_SECURITY_ACCOUNT_DISABLED = 0x110E,
  ERR_MSP_SECURITY_NOTNORMALUSER = 0x110F,
  ERR_MSP_SECURITY_SAMEPASSWORD = 0x1110,
  ERR_MSP_SECURITY_SPOOFATTEMPT1 = 0x1111,
  ERR_MSP_SECURITY_SPOOFATTEMPT2 = 0x1112,
  ERR_MSP_SECURITY_SPOOFATTEMPT3 = 0x1113,
  ERR_MSP_SECURITY_SPOOFATTEMPT4 = 0x1114,
  ERR_MSP_SECURITY_FAILGETINTEGRAURL = 0x1115,
  ERR_MSP_SECURITY_FAILGETINTEGRA = 0x1116,
  ERR_MSP_SECURITY_INTEGRACONNFORMAT = 0x1117,
  ERR_MSP_SECURITY_INTEGRAINVALIDPW = 0x1118,
  ERR_MSP_SECURITY_INTEGRAINVALIDCO = 0x1119,
  ERR_MSP_SECURITY_LOADSESSIONFILE = 0x111A,
  ERR_MSP_SECURITY_NOT_INTEGRA_USER = 0x111B,
  ERR_MSP_SECURITY_NOT_ENABLED = 0x111C,
  ERR_MSP_SECURITY_NO_INTEGRA_LOGIN = 0x111D,
  ERR_MSP_SESSION_UTIME_FAIL = 0x111E,
  ERR_MSP_SECURITY_CMDLINE_CGI = 0x111F,
  ERR_MSP_SECURITY_ADDUSER = 0x1200,
  ERR_MSP_SECURITY_DELUSER = 0x1201,
  ERR_MSP_SECURITY_UPDATEUSER = 0x1202,
  ERR_MSP_SECURITY_UPDATEPW = 0x1203,
  ERR_MSP_SECURITY_ADDGROUP = 0x1204,
  ERR_MSP_SECURITY_DELETEGROUP = 0x1205,
  ERR_MSP_SECURITY_UPDATEGROUP = 0x1206,
  ERR_MSP_SECURITY_GETALLGROUPIDS = 0x1300,
  ERR_MSP_SECURITY_GETGROUPOK = 0x1301,
  ERR_MSP_SECURITY_GETGROUPFAIL = 0x1302,
  ERR_MSP_SECURITY_GETUSEROK = 0x1303,
  ERR_MSP_SECURITY_GETUSERFAIL = 0x1304,
  ERR_MSP_SECURITY_GETUSERFROMIDOK = 0x1305,
  ERR_MSP_SECURITY_GETUSERFROMIDFAIL = 0x1306,
  ERR_MSP_SECURITY_GETALLUSERIDS = 0x1307,
  ERR_MSP_SECURITY_GETGROUPFROMIDOK = 0x1308,
  ERR_MSP_SECURITY_GETGROUPFROMIDFAIL = 0x1309,
  ERR_MSP_SECURITY_GETPERMTASKSOK = 0x130A,
  ERR_MSP_SECURITY_GETPERMTASKSFAIL = 0x130B,
  ERR_MSP_SECURITY_UPDATEALLSESSFILES = 0x130C,
  ERR_MSP_SECURITY_GETINTEGRAUSERS1 = 0x130D,
  ERR_MSP_SECURITY_GETINTEGRAUSERS2 = 0x130E,
  ERR_MSP_SECURITY_GETINTEGRAUSERS3 = 0x130F,
  ERR_MSP_SECURITY_VALIDATEINTEGRAPW1 = 0x1310,
  ERR_MSP_SECURITY_VALIDATEINTEGRAPW2 = 0x1311,
  ERR_MSP_SECURITY_VALIDATEINTEGRAPW3 = 0x1312,
  ERR_MSP_SECURITY_VALIDATEINTEGRACO1 = 0x1313,
  ERR_MSP_SECURITY_VALIDATEINTEGRACO2 = 0x1314,
  ERR_MSP_SECURITY_MSSESSIONCTOR = 0x1330,
  ERR_MSP_SECURITY_MSSESSCOOKIE = 0x1331,
  ERR_MSP_SECURITY_LOADINGSESS = 0x1332,
  ERR_MSP_SECURITY_MSSESSLOGIN = 0x1333,
  ERR_MSP_SECURITY_MSSESSINTEGRA = 0x1334,
  ERR_MSP_SECURITY_MSSESSRESULTSPERM = 0x1335,
  ERR_MSP_QUANT_FAILEDLOAD = 0x1400,
  ERR_MSP_QUANT_FAILEDSAVE = 0x1401,
  ERR_MSP_QUANT_HELPER_FAILEDINIT = 0x1410,
  ERR_MSP_QUANTITATION_FAILEDINIT = 0x1420,
  ERR_MSP_QUANTITATION_NOMETHOD = 0x1421,
  ERR_MSP_QUANTITATION_BADMETHOD = 0x1422,
  ERR_MSP_QUANTITATION_BADCOMPONENT = 0x1423,
  ERR_MSP_MS2QUANTITATION_FAILEDINIT = 0x1430,
  ERR_MSP_MS2QUANTITATION_NORM_NO_SUM = 0x1431,
  ERR_MSP_MS2QUANTITATION_NORM_UNIMP = 0x1432,
  ERR_MSP_MS2QUANTITATION_PROTWEIGH = 0x1433,
  ERR_MSP_MS2QUANTITATION_PROTR_UNIM = 0x1434,
  ERR_MSP_MS2QUANTITATION_COMPONENTS = 0x1442,
  ERR_MSP_MS2QUANTITATION_QUERY_SECS = 0x1443,
  ERR_MSP_CUSTQUANTITATION_FAILEDINIT = 0x1440,
  ERR_MSP_CUSTQUANTITATION_PROTR_UNIM = 0x1441,
  ERR_MSP_MS1QUANTITATION_HITREF_NEW = 0x1450,
  ERR_MSP_MS1QUANTITATION_HITREF_DROP = 0x1451,
  ERR_MSP_MS1QUANTITATION_FAILEDINIT = 0x1452,
  ERR_MSP_UMOD_FAILEDLOAD = 0x1500,
  ERR_MSP_UMOD_FAILEDSAVE = 0x1501,
  ERR_MSP_XMLSCHEMA_FAILEDLOAD = 0x1600,
  ERR_MSP_XMLSCHEMA_FAILEDSAVE = 0x1601,
  ERR_MSP_ZIP_ENDIAN = 0x1700,
  ERR_MSP_ZIP_OUTOFMEMORY = 0x1701,
  ERR_MSP_ZIP_BUFTOOSMALL = 0x1702,
  ERR_MSP_ZIP_INVALIDDATA = 0x1703,
  ERR_MSP_ZIP_UNKNOWN = 0x1704,
  ERR_MSP_ZIP_LENGTHDIFFERS = 0x1705,
  ERR_MSP_ZIP_UNCOMPRESSEDDATATOOLONG = 0x1706,
  ERR_MSP_ZIP_ZEROLENGTH = 0x1707,
  ERR_MSP_ZIP_VERSIONERROR = 0x1708,
  ERR_MSP_ZIP_NOTSTREAMING = 0x1709,
  ERR_MSP_ZIP_STREAMERROR = 0x1710,
  ERR_MSP_INST_LOGICALPERPHYSICALCPU = 0x1800,
  ERR_MSP_INST_INVALIDCPUINFO = 0x1801,
  ERR_MSP_INST_NUMTHREADS = 0x1802,
  ERR_MSP_INST_NOTMASCOTDATOK = 0x1803,
  ERR_MSP_INST_MASCOTDATOK = 0x1804,
  ERR_MSP_INST_APPENDTAXONOMY = 0x1805,
  ERR_MSP_INST_ADDINGDATABASE = 0x1806,
  ERR_MSP_INST_MISSINGDATABASE = 0x1807,
  ERR_MSP_INST_CHANGEDBTAXONOMY = 0x1808,
  ERR_MSP_INST_APPENDPARSERULE = 0x1809,
  ERR_MSP_INST_FAILADDPARSERULE = 0x180A,
  ERR_MSP_INST_ADDOPTIONSSECTION = 0x180B,
  ERR_MSP_INST_SETOPTIONSSECTION = 0x180C,
  ERR_MSP_INST_CLUSTERSECTION = 0x180D,
  ERR_MSP_INST_CANTGETHOSTNAME = 0x180E,
  ERR_MSP_INST_NOSUBCLUSTERSET = 0x180F,
  ERR_MSP_INST_CHANGEPARSERULE = 0x1810,
  ERR_MSP_INST_SAVEDPOSTINSTALLFILE = 0x1811,
  ERR_MSP_INST_FAILSAVEPOSTINSTALLFILE = 0x1812,
  ERR_MSP_HTTP_WEBAUTHERROR = 0x1901,
  ERR_MSP_HTTP_VERSIONERROR = 0x1902,
  ERR_MSP_HTTP_MISSINGLOGINERROR = 0x1903,
  ERR_MSP_HTTP_MISSINGLOGININFO = 0x1904,
  ERR_MSP_HTTP_LOGINPARSERERROR = 0x1905,
  ERR_MSP_HTTP_LOGINPARSERERRORINT = 0x1906,
  ERR_MSP_HTTP_LOGINSERVERERROR = 0x1907,
  ERR_MSP_HTTP_LOGINSERVERERRORINT = 0x1908,
  ERR_MSP_HTTP_LOGINERROR = 0x1909,
  ERR_MSP_HTTP_LOGINERRORINT = 0x190A,
  ERR_MSP_HTTP_CHANGEPASSWORDDISABLED = 0x190B,
  ERR_MSP_HTTP_OPENOUTPUTFILEFAILED = 0x190C,
  ERR_MSP_HTTP_WRITEOUTPUTFILEFAILED = 0x190D,
  ERR_MSP_HTTP_RELOGINFAILED = 0x190E,
  ERR_MSP_HTTP_SETPROXYFAILED = 0x1A01,
  ERR_MSP_HTTP_SETPROXYUSERNAMEFAILED = 0x1A02,
  ERR_MSP_HTTP_SETPROXYPASSWORDFAILED = 0x1A03,
  ERR_MSP_HTTP_SETHTTPUSERNAMEFAILED = 0x1A04,
  ERR_MSP_HTTP_SETHTTPPASSWORDFAILED = 0x1A05,
  ERR_MSP_HTTP_SETREDIRECTFAILED = 0x1A06,
  ERR_MSP_HTTP_URLSTRING = 0x1A07,
  ERR_MSP_HTTP_NORESPONSE = 0x1A08,
  ERR_MSP_HTTP_QUERYSTATUSRESULT = 0x1A09,
  ERR_MSP_HTTP_QUERYSTATUSFAILED = 0x1A0A,
  ERR_MSP_HTTP_OPENSESSIONFAILED = 0x1A0B,
  ERR_MSP_HTTP_OPENCONNECTIONFAILED = 0x1A0C,
  ERR_MSP_HTTP_OPENREQUESTFAILED = 0x1A0D,
  ERR_MSP_HTTP_CLOSESESSIONFAILED = 0x1A0B,
  ERR_MSP_HTTP_CLOSECONNECTIONFAILED = 0x1A0C,
  ERR_MSP_HTTP_CLOSEREQUESTFAILED = 0x1A0D,
  ERR_MSP_HTTP_ABORTEDBYUSER = 0x1A0E,
  ERR_MSP_HTTP_MAXCONECTIONSFAILED = 0x1A0F,
  ERR_MSP_HTTP_MAXCONECTIONS10FAILED = 0x1A10,
  ERR_MSP_HTTP_READRESPONSEFAILED = 0x1A11,
  ERR_MSP_HTTP_SENDREQUESTFAILED = 0x1A12,
  ERR_MSP_HTTP_QUERYDATAFAILED = 0x1A13,
  ERR_MSP_HTTP_READDATAFAILED = 0x1A14,
  ERR_MSP_HTTP_GETPROXYFAILED = 0x1A15,
  ERR_MSP_HTTP_BADHTTPSTATUS = 0x1A16,
  ERR_MSP_HTTP_ERROR = 0x1A17,
  ERR_MSP_HTTP_SESSIONALREADYOPEN = 0x1A18,
  ERR_MSP_HTTP_GETRETURNSTRING = 0x1A19,
  ERR_MSP_HTTP_GETRESULTSFILENAME = 0x1A1A,
  ERR_MSP_CACHE_OPENFAILED = 0x1B01,
  ERR_MSP_CACHE_READFAILED = 0x1B02,
  ERR_MSP_CACHE_INVALIDFORMAT = 0x1B03,
  ERR_MSP_CACHE_SIGNATUREINVALID = 0x1B04,
  ERR_MSP_CACHE_DATAOFFSETINVALID = 0x1B05,
  ERR_MSP_CACHE_FILESEEKFAILED = 0x1B06,
  ERR_MSP_CACHE_INVALIDVERSION = 0x1B07,
  ERR_MSP_CACHE_INVALIDSTREAMID = 0x1B08,
  ERR_MSP_CACHE_INVALIDSTREAMPOSITION = 0x1B09,
  ERR_MSP_CACHE_DUPLICATESTREAMID = 0x1B0A,
  ERR_MSP_CACHE_WRITEFAILED = 0x1B0B,
  ERR_MSP_CACHE_STREAMNOTFOUND = 0x1B0C,
  ERR_MSP_CACHE_WRITETRUNCATED = 0x1B0D,
  ERR_MSP_CACHE_MODIFYREADONLYMODE = 0x1B0D,
  ERR_MSP_CACHE_MODIFYCLOSED = 0x1B0E,
  ERR_MSP_CACHE_UNINITIALISEDSTREAM = 0x1B0F,
  ERR_MSP_CACHE_SLREF_UPDATE = 0x1B10,
  ERR_MSP_HTTP_XMLUPLOADFAILED = 0x1C01,
  ERR_MSP_NIST_MSP_INVALID_LINE = 0x1D01,
  ERR_MSP_NIST_MSP_MISSING_PARAMETER = 0x1D02,
  ERR_MSP_NIST_MSP_NO_SPECTRA = 0x1D03,
  ERR_MSP_NIST_MSP_NO_CREATE_CDB = 0x1D04,
  ERR_MSP_NIST_MSP_INCONSISTENT_MODS = 0x1D05,
  ERR_MSP_NIST_FAILED_TO_LOAD_ENTRY = 0x1D06,
  ERR_MSP_NIST_SAVE_ZERO_SPECTRA = 0x1D07,
  ERR_MSP_NIST_NO_PEAKS_IN_SPECTRUM = 0x1D08,
  ERR_MSP_NIST_CANNOT_ANNOTATE_PEAK = 0x1D09,
  ERR_MSP_NIST_INDEX_OUT_OF_RANGE = 0x1D0A,
  ERR_RESFILE_INVALID_DB_TYPE = 0x1E01,
  ERR_MSP_SL_SCORING_MODEL_FAIL = 0x1F01,
  ERR_MSP_SL_SCORING_MODEL_WARN = 0x1F02
}
 

Definitions for error numbers.

More...
enum  msg_sev {
  sev_fatal = 1,
  sev_warn = 2,
  sev_info = 3,
  sev_debug1 = 4,
  sev_debug2 = 5,
  sev_debug3 = 6
}
 

Error severity levels.

More...

Public Member Functions

 ms_errs ()
 Constructor.
void appendErrors (const ms_errs &src)
 Copies all errors from another instance and appends them at the end of own list.
void clearAllErrors ()
 Remove all errors from the current list of errors.
bool getCombineRepeats () const
 Get the flag for whether to merge repeated error messages.
int getErrorNumber (const int num=-1) const
 Return a specific error number or ERR_NO_ERROR.
int getErrorRepeats (const int num=-1) const
 Returns a number of times the specified error has been repeated.
msg_sev getErrorSeverity (const int num=-1) const
 Returns the severity of the specified error, warning, information or debug message.
std::string getErrorString (const int num) const
 Returns a specific error as a string.
int getLastError () const
 Return the last error number or ERR_NO_ERROR if no errors.
std::string getLastErrorString () const
 Return the last error number or an empty string.
std::string getLoggingFileName () const
 Return the name of the logging file.
msg_sev getLoggingLevel () const
 Get the logging level.
int getNumberOfErrors () const
 Return the number of errors since the last call to clearAllErrors().
bool isValid () const
 Returns TRUE if no errors occurred, FALSE otherwise.
void setCombineRepeats (const bool flag)
 Set the flag for whether to merge repeated error messages.
void setLoggingFile (const std::string filename, const msg_sev level)
 Set the logging file.
void setLoggingLevel (const msg_sev level)
 Set the logging level.

Detailed Description

All errors are collected in an instance of this class.

Examples:

common_error.cpp, and tools_aahelper.cpp.


Member Enumeration Documentation

enum err

Definitions for error numbers.

See Using enumerated values in Perl, Java, Python and C#.

Errors are classified as:

  • [F] fatal errors
  • [W] warnings
  • [I] information
  • [D1] Debug level 1 message
  • [D2] Debug level 2 message
  • [D3] Debug level 3 message

A warning will not cause ms_errors::isValid() to return FALSE.

Enumerator:
ERR_NO_ERROR 

[W] Success.

ERR_NOMEM 

[F] Failed to allocate memory to load the file.

ERR_NOSUCHFILE 

[F] The file passed in the constructor does not exist.

ERR_READINGFILE 

[F] Opened the file successfully, but failed to read from it.

ERR_QUERYOUTOFRANGE 

[F] Set if query < 1 or query > getNumQueries.

ERR_MISSINGENTRY 

[F] Set if there is no qexp value in the file.

ERR_PEPSUMMPEPGET 

[F] Value of q, p or h out of range, so cannot get peptide info.

ERR_PEPTIDESTR 

[F] The string in the peptides block is not valid.

ERR_ACCINPEPTIDESTR 

[F] Could not parse an item for a given accession in the peptide section.

ERR_PROTSUMM 

[F] Error parsing a line in the protein summary.

ERR_PROTSUMMPEP 

[F] Couldn't parse peptide information from the protein summary section..

ERR_ADDPEPTIDES 

[F] Failed to add peptides when creating the peptide summary.

ERR_MISSINGHIT 

[F] Missing hit in the summary section.

ERR_MISSINGSECTION 

[F] Complete missing section in the file.

ERR_MISSINGSECTIONEND 

[F] Missing end of section in the file.

ERR_MALFORMED_ERR_TOL 

[W] Expecting a line of format q1_p2_et_mods=0.984020,0.000000,Citrullination.

ERR_NO_ERR_TOL_PARENT 

[F] No parent search file. See Error tolerant searches.

ERR_NULL_ACC_PEP_SUM 

[W] An empty accession string has been found. Possible problem in database.

ERR_NULL_ACC_PROT_SUM 

[W] An empty accession string has been found. Possible problem in database.

ERR_DUPE_ACCESSION 

[W] A possible duplicate accession string has been found. Possible problem in database.

ERR_UNASSIGNED_PROG 

[F] Programming error! Calling getNumberOfUnassigned() or getUnassigned() before createUnassignedList().

ERR_UNASSIGNED_RANGE 

[F] Calling ms_mascotresults::getUnassigned() with out of range number.

ERR_UNASSIGNED_UNK 

[F] Calling ms_mascotresults::getUnassigned() -- unable to retrieve value.

ERR_NO_UNIGENE_FILE 

[F] Failed to open the UniGene file specified.

ERR_DUPLICATE_KEY 

[W] Duplicate entries with the same key in the named section.

ERR_OLDRESULTSFILE 

[F] Very old results file (last century!). Parser requires 1.02 or later.

ERR_MALFORMED_TAG 

[W] Expecting a line in format q1_p2_tag=1:3:5:6,2:4:12:6,....

ERR_MALFORMED_DRANGE 

[W] Expecting a line in format q1_p2_drange=0,256.

ERR_INVALID_NUMQUERIES 

[W] Invalid number of queries in results file has been corrected.

ERR_MALFORMED_TERMS 

[W] Expecting a line in format q1_p2_terms=A,B:-,I:....

ERR_INVALID_RESFILE 

[F] Invalid results file format -- missing or corrupt headers.

ERR_INVALID_PROTDB 

[W] Invalid h1_db-string format. Expecting an integer number.

ERR_UNIGENE_MULTIDB 

[W] UniGene index is not supported in multi-database search.

ERR_INVALID_CACHE_DIR 

[F] Must specify a cache directory if using CDB cache files.

ERR_FAIL_OPEN_DAT_FILE 

[F] Failed to open the results file for reading.

ERR_MISSING_CDB_FILE 

[W] Cache file is missing or cannot be opened.

ERR_FAIL_MK_CACHE_DIR 

[F] Failed to create cache directory for cache files.

ERR_FAIL_MK_CDB_FILE 

[W] Failed to create an cache file.

ERR_FAIL_CLOSE_FILE 

[W] Failed to close file.

ERR_FAIL_CDB_INIT 

[W] Failed to initialise cache file (%s). Error code %d.

ERR_INVALID_CDB_FILE 

[W] Value in cdb cache file (%s) is corrupt: %s.

ERR_WRITE_CDB_FILE 

[W] Failed to write to the cache file (%s). Error %d (%s).

ERR_CDB_TOO_LARGE 

[W] Cannot use cache file (s) which exceeded max size of s. Try deleting the cache file and retrying.

ERR_NEED_64_BIT 

[F] This results file (%s) is too large for 32 bit Mascot Parser. Please upgrade to 64 bit.

ERR_CDB_64_BIT_REMAKE 

[W] Re-creating %s. Was too large for 32 bit, but may succeed with 64 bit.

ERR_CDB_OLD_VER_RETRY 

[W] Cache file %s is an old version. Creating new cache file.

ERR_CDB_OLD_VER_NO_RETRY 

[W] Cache file %s is an old version. Continuing without cache.

ERR_CDB_INCOMPLETE_RETRY 

[W] Cache file %s was not complete. Re-creating the cache file.

ERR_CDB_INCOMPLETE_NO_RETRY 

[W] Cache file %s was not complete. Continuing without cache.

ERR_CDB_BEING_CREATED 

[W] Cache file %% being created by another task. Continuing without cache.

ERR_CDB_FAIL_REMOVE 

[W] Failed to remove old cache file %s - error %s. Continuing without cache.

ERR_CDB_FAIL_LOCK 

[W] Failed to lock cache file %s. Error code: %d.

ERR_CDB_FAIL_UNLOCK 

[W] Failed to unlock cache file %s. Error code: %d.

ERR_CDB_SOURCE_CHANGE_RETRY 

[W] %s changed. %s (was %s), %s bytes (was %s). Re-creating the cache file.

ERR_CDB_SOURCE_CHANGE_NO_RETRY 

[W] %s changed. %s (was %s), %s bytes (was %s). Continuing without cache.

ERR_MISSING_PERCOLATOR_FILE 

[F] Percolator file %s is missing. Cannot continue.

ERR_CANNOT_APPEND_RESFILE 

[F] The file %s cannot be appended to %s because %s values are different.

ERR_CANNOT_APPEND_RESFILE_NO_FNAMES 

[F] The file cannot be appended because %s values are different.

ERR_RESULTS_NOT_CREATED 

[W] Attempting to call Mascot Parser function %s before createSummary() has completed.

ERR_MSP_FAILED_TO_OPEN_FILE 

[F] Error when opening file.

ERR_MSP_FAILED_TO_CLOSE_FILE 

[W] Can happen everywhere.

ERR_MSP_FAIL_STAT 

[W] OS-specific API-function stat() failed.

ERR_MSP_GET_VOLUME_INFO 

[W] Failed to get volume information.

ERR_MSP_FILE_DOESNT_EXIST 

[F] Cannot open file because it doesn't exist.

ERR_MSP_FAIL_GET_PROCESS_AFFINITY 

[F] Failed to find information about number of processors available.

ERR_MSP_SYSMP_FAIL 

[F] Failed call to sysmp() for multi-processor support.

ERR_MSP_FAIL_GET_SYSINFO 

[F] Failed to obtain system information.

ERR_MSP_FAILED_TO_WRITE_FILE 

[F] Failed to write to file '%s' (file not open or disk full).

ERR_MSP_FAIL_UTIME 

[W] Failed calling function utime() on file '%s'.

ERR_MSP_FRAGMENTATION_RULES 

[F] Error when parsing fragmentation_rules file.

ERR_MSP_IN_MASSES_FILE 

[F] Error when parsing "masses" file.

ERR_MSP_INVALID_MASS_IN_MASSES_FILE 

[F] Invalid mass in "masses" file.

ERR_MSP_DUPLICATE_MOD 

[F] Duplicate modification names in mod_file.

ERR_MSP_RESIDUE_AND_TERMINUS_MOD 

[F] Bad mod combination.

ERR_MSP_TOO_MANY_MODS_IN_MOD_FILE 

[W] Too many modification have been loaded from file(s).

ERR_MSP_NO_COMMAS_IN_MOD_NAME 

[F] Comma is not allowed in mod name.

ERR_MSP_IN_MODS_FILE 

[F] Error in mod file.

ERR_MSP_MISSING_DEFINITION_END 

[F] Missing end of modification definition.

ERR_MSP_NO_SUCH_MOD 

[F] Cannot find a modification.

ERR_MSP_ENZYME_FILE_FORMAT 

[F] Error in enzymes file.

ERR_MSP_MISSING_ENZYME_TITLE 

[F] Non-comment line encountered while searching for a title.

ERR_MSP_ENZYME_DEFINITION_PROBLEM 

[F] Invalid enzyme definition.

ERR_MSP_ENZYME_TOO_MANY_RULES 

[F] Too many cleavage rules for enzyme.

ERR_MSP_MISSING_MASCOT_DAT 

[F] Missing mascot.dat file.

ERR_MSP_DB_USES_MISSING_RULE 

[W] A database uses non-existent rule.

ERR_MSP_COMPILE_PARSE_RULE 

[W] Error while compiling a parse rule with regex.

ERR_MSP_NEED_1_EXP_IN_PARSE_RULE 

[W] Only one subexpression is allowed per parse rule.

ERR_MSP_IN_MASCOT_DAT_DB_SECT 

[W] Error in Databases section.

ERR_MSP_IN_OPTIONS_SECTION 

[W] Error in OPTIONS section.

ERR_MSP_IN_CLUSTER_SECTION 

[W] Error in CLUSTER section.

ERR_MSP_TOO_MANY_CPUS_IN_SUB_CLUSTER 

[W] The number of CPUs for the sub cluster is too high.

ERR_MSP_CRON_TOO_MANY_JOBS 

[W] Too many cron jobs.

ERR_MSP_INVALID_PARSE_RULE 

[W] Invalid parsing rule.

ERR_MSP_INVALID_PARSE_RULE_NO 

[W] Parsing rule with invalid number.

ERR_MSP_RULE_NO_ALREADY_DEFINED 

[W] Parsing rule has been defined twice.

ERR_MSP_MISSING_QUOTE_IN_PARSE_RULE 

[W] Missing quote character in a parse rule.

ERR_MSP_PARSE_LEN_EXCEED 

[W] Parse rule length exceeds the limit.

ERR_MSP_IN_TAXONOMY_SECTION 

[W] Error in Taxonomy section.

ERR_MSP_INCOMPATIBLE_TAX_RULES 

[W] Incompatible taxonomy rules.

ERR_MSP_MAX_PREFIX_REMOVES 

[W] Maximum number of prefixes is exceeded in Taxonomy section.

ERR_MSP_MAX_SUFFIX_REMOVES 

[W] Maximum number of suffices is exceeded in Taxonomy section.

ERR_MSP_MAX_TAX_NO_BREAKS 

[W] Maximum number of breaks is exceeded in Taxonomy section.

ERR_MSP_CRON_INVALID_CHAR 

[W] Invalid character in Cron section.

ERR_MSP_CRON_INVALID_NUMBER 

[W] Invalid number in Cron section.

ERR_MSP_CRON_INVALID_STAR 

[W] Invalid star-character in Cron section.

ERR_MSP_CRON_NO_NUM_BEFORE_COMMA 

[W] Expecting number before comma (,) in Cron section.

ERR_MSP_CRON_NO_NUM_BEFORE_MINUS 

[W] Expecting number before dash (-) in Cron section.

ERR_MSP_INVALID_PROCESSOR_LINE 

[W] Invalid line in mascot.dat.

ERR_MSP_PROCESSOR_NOT_IN_SET 

[W] Processor specified is not in the ProcessorSet.

ERR_MSP_SPECIFY_UNAVAILABLE_PROCESSOR 

[W] ProcessorSet specifies unavailable processor.

ERR_MSP_TOO_MANY_PROCESSORS 

[W] More processors specified than licensed.

ERR_MSP_TOO_MANY_TH_PROCESSORS 

[W] Too many processors named for a smaller number of threads for a database.

ERR_MSP_WWW_SECTION 

[W] Error in WWW section.

ERR_MSP_DUP_TAXONOMYRULE 

[W] A taxonomy rule with duplicate number has been encountered.

ERR_MSP_WRONG_ICAT_FILTER 

[W] Empty ICAT filter is not allowed.

ERR_MSP_EXEC_AFTER_SEARCH_INVALID 

[W] ExecAfterSearch must start with waitforX, where 0 <= X <= 10.

ERR_MSP_EXEC_AFTER_SEARCH_DEPENDS 

[W] ExecAfterSearch has waitfor %d, but no %d command.

ERR_MSP_EXEC_AFTER_SEARCH_LOGGING 

[W] ExecAfterSearch has an invalid logging level (should be 0..3).

ERR_MSP_REPORTBUILDERCOLARR_INVALID 

[W] ReportBuilderColumnArrangement must be of the form Name:[columns] where [columns] is a comma-separated string of column names.

ERR_MSP_UNEXPECTED_LINE_OUT_OF_SECT 

[W] Expecting a comment or section name, but found "%s" in the file: s

ERR_MSP_MISSING_SECTION 

[W] There is no \'s\' section in the file: s

ERR_MSP_NO_REGEX_MATCH 

[W] Could not find description / accession number in s using rule: s

ERR_MSP_REGEX_ERROR 

[W] Error s finding description / accession number using rule: s

ERR_MSP_COLOURSCHEME_INVALID 

[W] Colour scheme must be a comma-separated list of key=value pairs where keys and values have a specified format: s

ERR_MSP_NO_LICENSE_FILE 

[F] License file cannot be found or invalid.

ERR_MSP_LICENSE_DES_CHECKSUM 

[F] Check sum in the license file is invalid.

ERR_MSP_LICENSE_LINE_CHECKSUM 

[F] Check sum in the license file is invalid.

ERR_MSP_LICENSE_NOT_YET_AVAIL 

[F] Start date has not come yet.

ERR_MSP_LICENSE_EXPIRED 

[F] The license has already expired.

ERR_MSP_LICENSE_INTERNAL_CONFIG 

[F] Internal configuration error when reading a license file.

ERR_MSP_LICENSE_LINE_INVALID 

[F] Line [line number] of the license file is corrupt or this is not a license file.

ERR_MSP_XML_SYSTEM_FAILED 

[F] XML-library failure.

ERR_MSP_XML_NO_ROOT_ELEMENT 

[F] XML document doesn't contain a root element.

ERR_MSP_XML_TABLE_NOTFOUND 

[F] Table with a specific name is not found amongst children of the current node.

ERR_MSP_XML_FIELD_NOTFOUND 

[F] Records in a table doesn't have the required field.

ERR_MSP_XML_INVALID_FIELD_FORMAT 

[F] Field of a record contains data in wrong format.

ERR_MSP_XML_LOCAL_SCHEMA_NOT_STORED 

[F] Cannot store XML-schema file locally.

ERR_MSP_XML_ELEMENT_NOT_FOUND 

[F] Cannot find element with the supplied name.

ERR_MSP_XML_MEMORY_ERROR 

[F] Memory allocation failed when working with XML.

ERR_MSP_HTTP_TRANSMISSION_FAILED 

[F] Http-transmission failed.

ERR_MSP_HTTP_INVALID_URL 

[F] Invalid web-address.

ERR_MSP_MASCOT_NOT_RUNNING 

[F] The Mascot service is not running. Unable to retrieve configuration file.

ERR_MSP_CONFLICT_BETWEEN_MODS 

[F] A conflict between two or more modifications detected.

ERR_MSP_WRONG_MOD_VECTOR 

[F] Variable mods vector cannot be applied to the peptide.

ERR_MSP_MOD_MUST_BE_VAR 

[F] This modification can only be variable.

ERR_MSP_MALFORMED_PEPTIDE 

[F] Empty or inconsistent peptide.

ERR_MSP_DOUBLE_CHARGE_NOT_ALLOWED 

[F] Double charged ions are not allowed on this series.

ERR_MSP_NO_ENZYME_SET 

[F] Cannot iterate peptides without enzyme specificity.

ERR_MSP_EMPTY_MOD 

[F] A modification is missing or incomplete (perhaps it was not found in the configuration files).

ERR_MSP_TAXONOMY_NO_TITLE 

[F] The first non-empty line is expected to be Title:....

ERR_MSP_TAXONOMY_NO_COMMAS 

[F] Comma is not allowed in taxonomy choice title.

ERR_MSP_TAXONOMY_WRONG_LINE 

[F] Line cannot be parsed.

ERR_MSP_TAXONOMY_DEFINITION_END 

[F] Missing end of taxonomy choice definition.

ERR_MSP_TAXONOMY_CONFLICT_PARENTS 

[W] The parent for taxonomy id: %d in %s conflicts with another file.

ERR_MSP_TAXONOMY_INVALID_NODE_FILE 

[F] Invalid line [%s] in the node file [%s].

ERR_MSP_TAXONOMY_MISSING_NODE_FILE 

[F] The taxonomy node file [%s] is missing.

ERR_MSP_SECURITY_INVALID_SESSION_ID 

[W] An invalid session ID was passed to a function.

ERR_MSP_SECURITY_NOT_ADMIN_SESSION 

[W] Administrator rights are required to add, delete or change users or groups.

ERR_MSP_SECURITY_DUPE_USER_ID 

[W] Attempt to add a user with the same ID as an existing user.

ERR_MSP_SECURITY_DUPE_USER_NAME 

[W] Attempt to add a user with the same name as an existing user.

ERR_MSP_SECURITY_BAD_USER_NAME 

[W] Invalid user name - names cannot contain the following characters:

><\\/`;,+*"
ERR_MSP_SECURITY_USERNAME_NOT_FOUND 

[W] User name not found.

ERR_MSP_SECURITY_USERID_NOT_FOUND 

[W] User ID not found.

ERR_MSP_SECURITY_DUPE_GROUP_ID 

[W] Attempt to add a group with the same ID as an existing group.

ERR_MSP_SECURITY_DUPE_GROUP_NAME 

[W] Attempt to add a group with the same name as an existing group.

ERR_MSP_SECURITY_BAD_GROUP_NAME 

[W] Invalid group name - names cannot contain the following characters:

><\\/`;,+*"
ERR_MSP_SECURITY_GROUPNAME_NOT_FOUND 

[W] Group name not found.

ERR_MSP_SECURITY_GROUPID_NOT_FOUND 

[W] Group ID not found.

ERR_MSP_SECURITY_FAIL_LOAD_SEC 

[W] Failed to load the main security configuration files.

ERR_MSP_SECURITY_FAIL_LOAD_USER 

[W] Failed to load the user information for user.

ERR_MSP_SECURITY_FAIL_LOAD_GROUP 

[W] Failed to load the group information for group.

ERR_MSP_SECURITY_DEL_SPECIAL_GROUP 

[W] The special system group 's' cannot be deleted.

ERR_MSP_SECURITY_DEL_SPECIAL_USER 

[W] The The special system user 's' cannot be deleted.

ERR_MSP_SECURITY_DISABLE_ADMIN 

[W] The administrator user cannot be disabled.

ERR_MSP_SECURITY_DEL_ADMIN_RIGHTS 

[W] The administrator rights cannot be removed from the administrator group.

ERR_MSP_SECURITY_DEL_ADMIN_FROM_GP 

[W] The administrator user cannot be removed from the administrator group.

ERR_MSP_SECURITY_DUPE_GROUP_NAME_U 

[W] Failed to update group -- the name has been changed, and there is already another group with this name.

ERR_MSP_SECURITY_DUPE_USER_NAME_U 

[W] Failed to update user -- the name has been changed, and there is already another user with this name.

ERR_MSP_SECURITY_OLD_PW_INVALID 

[W] The old password is not correct and you don't have administrator rights. Password not changed.

ERR_MSP_SECURITY_NO_GUEST_PWD 

[W] You cannot set a password for the guest user.

ERR_MSP_SECURITY_PASSWORD_TOO_SHORT 

[W] The password entered is too short. Minimum length required is defined in the options.

ERR_MSP_SECURITY_FAIL_SAVE_SEC 

[W] Failed to save the main security configuration files.

ERR_MSP_SECURITY_NO_RIGHTS_UPD_USR 

[W] Insufficient acccess rights to update user profile for %s.

ERR_MSP_SECURITY_INVALIDUSER 

[F] No such user.

ERR_MSP_SECURITY_INVALIDPASSWORD 

[F] You have entered an invalid password, %s - please try again [ec=%d].

ERR_MSP_SECURITY_MISSINGSESSIONFILE 

[F] Can't find the session file requested.

ERR_MSP_SECURITY_SAVESESSIONFILE 

[F] Can't save a new session file.

ERR_MSP_SECURITY_TIMEDOUT 

[F] Session has timed out.

ERR_MSP_SECURITY_DIFFERENTIPADDR 

[F] The option to check IP address is enabled and this is an attempt to open this session from a different ip address.

ERR_MSP_SECURITY_PASSWORDEXPIRED 

[F] Your password has expired, %s - please enter a new password.

ERR_MSP_SECURITY_NOTLOGGEDIN 

[F] User is not logged in, so could not create a session.

ERR_MSP_SECURITY_INVALIDSESSION 

[F] The current session is invalid, but an attempt has been made to save parameters.

ERR_MSP_SECURITY_NOSAVEPARAMS 

[F] Cannot save parameters in this type of sessin (e.g. guest user, no authentication enabled).

ERR_MSP_SECURITY_SESSIONDESTROYED 

[D1]The session has been terminated and is therefore no longer valid.

ERR_MSP_SECURITY_NOCREATEGUEST 

[F] Unable to create a guest session.

ERR_MSP_SECURITY_UPDATESESS 

[F] Unable to update session %s. Error %s.

ERR_MSP_SECURITY_ACCOUNT_DISABLED 

[F] Cannot login, your account (%s) has been disabled.

ERR_MSP_SECURITY_NOTNORMALUSER 

[F] Cannot login as this user (%s) because the user type is not a 'normal' or 'integra' user.

ERR_MSP_SECURITY_SAMEPASSWORD 

[F] Cannot change your password to the same as the previous password.

ERR_MSP_SECURITY_SPOOFATTEMPT1 

[F] Trying to use session %s from computer with ip address %s - please contact your administrator.

ERR_MSP_SECURITY_SPOOFATTEMPT2 

[F] Trying to use session %s when logged into the web server as %s - please contact your administrator.

ERR_MSP_SECURITY_SPOOFATTEMPT3 

[F] Trying to use session %s (USER_AGENT_STRING) when agent string is actually %s - please contact your administrator.

ERR_MSP_SECURITY_SPOOFATTEMPT4 

[F] Trying to use command line session %s from a cgi application at ip address %s - please contact your administrator.

ERR_MSP_SECURITY_FAILGETINTEGRAURL 

[W] Failed to contact Integra server. See previous error in log file.

ERR_MSP_SECURITY_FAILGETINTEGRA 

[W] Failed to get any integra users - return from Integra server was: %s.

ERR_MSP_SECURITY_INTEGRACONNFORMAT 

[F] Integra connection id (%s) is not of the format expected.

ERR_MSP_SECURITY_INTEGRAINVALIDPW 

[F] Integra password is probably invalid. Error return is: %s

ERR_MSP_SECURITY_INTEGRAINVALIDCO 

[F] Integra connection id has probably timed out. Error return is: %s

ERR_MSP_SECURITY_LOADSESSIONFILE 

[F] The session file exists but we can't load it.

ERR_MSP_SECURITY_NOT_INTEGRA_USER 

[F] The 'type' of user (%s) needs to be changed to a Mascot Integra user using the Mascot security administration application.

ERR_MSP_SECURITY_NOT_ENABLED 

[F] There is no need to login to this server - Mascot security is not enabled.

ERR_MSP_SECURITY_NO_INTEGRA_LOGIN 

[F] You cannot login from this screen. Please login to Mascot Integra first, and access the Mascot Home Page from there.

ERR_MSP_SESSION_UTIME_FAIL 

[W] Failed to update last modified time for s. Error: s

ERR_MSP_SECURITY_CMDLINE_CGI 

[F] Cannot use command-line session while running in CGI environment.

ERR_MSP_SECURITY_ADDUSER 

[I] Add user: name=%s, id=%d, type=%d, enabled=%d.

ERR_MSP_SECURITY_DELUSER 

[I] Delete user: name=%s, id=%d.

ERR_MSP_SECURITY_UPDATEUSER 

[I] Update user %d: [old,new]. Name=[%s,%s], FullName=[%s,%s], pw_exp=[%ld,%ld], type=[%d,%d], email=[%s,%s], enabled=[%d,%d].

ERR_MSP_SECURITY_UPDATEPW 

[I] Update user password for user id %d, name %s. Old p/w expiry=%ld. New p/w expiry=%ld.

ERR_MSP_SECURITY_ADDGROUP 

[I] Add group: name=%s, id=%d.

ERR_MSP_SECURITY_DELETEGROUP 

[I] Delete group: name=%s, id=%d.

ERR_MSP_SECURITY_UPDATEGROUP 

[I] Updated group: id=%d, old name=%s, new name=%s, added users=%s, deleted users=%s. Changed tasks=%s.

ERR_MSP_SECURITY_GETALLGROUPIDS 

[D3] Called getAllGroupIDs - list of %d ids returned.

ERR_MSP_SECURITY_GETGROUPOK 

[D3] Called ms_security::getGroup(%s) - returned successfully.

ERR_MSP_SECURITY_GETGROUPFAIL 

[D3] Called ms_security::getGroup(%s) - group not found.

ERR_MSP_SECURITY_GETUSEROK 

[D3] Called ms_security::getUser('%s') - returned successfully.

ERR_MSP_SECURITY_GETUSERFAIL 

[D3] Called ms_security::getUser('%s') - user not found.

ERR_MSP_SECURITY_GETUSERFROMIDOK 

[D3] Called ms_security::getUserFromID('%d') - returned user (%s) successfully.

ERR_MSP_SECURITY_GETUSERFROMIDFAIL 

[D3] Called ms_security::getUserFromID('%d') - user id not found..

ERR_MSP_SECURITY_GETALLUSERIDS 

[D3] Called ms_security::getAllUserIDs - list of %d ids returned.

ERR_MSP_SECURITY_GETGROUPFROMIDOK 

[D3] Called ms_security::getGroupFromID('%d') - returned group (%s) successfully.

ERR_MSP_SECURITY_GETGROUPFROMIDFAIL 

[D3] Called ms_security::getGroupFromID('%d') - group id not found.

ERR_MSP_SECURITY_GETPERMTASKSOK 

[D3] Called ms_security::getPermittedTasksForUser('%s') - user name found, %d tasks returned.

ERR_MSP_SECURITY_GETPERMTASKSFAIL 

[D3] Called ms_security::getPermittedTasksForUser('%s') - user name not found.

ERR_MSP_SECURITY_UPDATEALLSESSFILES 

[D3] Called ms_security::updateAllSessionFiles - %d files potentially updated.

ERR_MSP_SECURITY_GETINTEGRAUSERS1 

[D3] Called ms_security::getIntegraUsers - url %s.

ERR_MSP_SECURITY_GETINTEGRAUSERS2 

[D3] Called ms_security::getIntegraUsers - return string from URL is: %s.

ERR_MSP_SECURITY_GETINTEGRAUSERS3 

[D3] Called ms_security::getIntegraUsers - list of %d ids returned.

ERR_MSP_SECURITY_VALIDATEINTEGRAPW1 

[D3] Called ms_security_session::validateIntegraPassword - url %s.

ERR_MSP_SECURITY_VALIDATEINTEGRAPW2 

[D3] Called ms_security_session::validateIntegraPassword - return string from URL is: %s.

ERR_MSP_SECURITY_VALIDATEINTEGRAPW3 

[D3] Called ms_security_session::validateIntegraPassword - OK.

ERR_MSP_SECURITY_VALIDATEINTEGRACO1 

[D3] Called ms_security_session::verifyIntegraConnection - url %s.

ERR_MSP_SECURITY_VALIDATEINTEGRACO2 

[D3] Called ms_security_session::verifyIntegraConnection - OK.

ERR_MSP_SECURITY_MSSESSIONCTOR 

[D3] Called ms_session::ms_session(%s).

ERR_MSP_SECURITY_MSSESSCOOKIE 

[D3] Cookie from ms_session::ms_session() = %s.

ERR_MSP_SECURITY_LOADINGSESS 

[D3] Loading session (%s).

ERR_MSP_SECURITY_MSSESSLOGIN 

[I] Called ms_session::ms_session(%s,[password]).

ERR_MSP_SECURITY_MSSESSINTEGRA 

[I] Called ms_session::ms_session(%s,[connectionID],%s).

ERR_MSP_SECURITY_MSSESSRESULTSPERM 

[D3] Called ms_session::canResultsFileBeViewed(%d - return %d).

ERR_MSP_QUANT_FAILEDLOAD 

[W] Failed to load quantitation configuration file.

ERR_MSP_QUANT_FAILEDSAVE 

[W] Failed to save quantitation configuration file.

ERR_MSP_QUANT_HELPER_FAILEDINIT 

[E] Failed to initialise ms_quant_helper: %s

ERR_MSP_QUANTITATION_FAILEDINIT 

[E] Failed to initialise ms_quantitation: %s

ERR_MSP_QUANTITATION_NOMETHOD 

[W] No quantitation method is specified in the results file

ERR_MSP_QUANTITATION_BADMETHOD 

[W] The quantitation method protocol s is not supported for function s

ERR_MSP_QUANTITATION_BADCOMPONENT 

[W] The component name 's' does not exist in the quantitation mehod

ERR_MSP_MS2QUANTITATION_FAILEDINIT 

[E] Failed to initialise ms_ms2quantitation: %s

ERR_MSP_MS2QUANTITATION_NORM_NO_SUM 

[W] Sum normalisation is only implemented in Reporter (current protocol is %s); ignoring normalisation type

ERR_MSP_MS2QUANTITATION_NORM_UNIMP 

[W] Unknown normalisation type %s; ignoring

ERR_MSP_MS2QUANTITATION_PROTWEIGH 

[W] Protein ratio type 'Summed intensities' is only implemented in Reporter (current protocol is %s); resetting to median

ERR_MSP_MS2QUANTITATION_PROTR_UNIM 

[W] Protein ratio type %s is not implemented; resetting to median

ERR_MSP_MS2QUANTITATION_COMPONENTS 

[W] Different number of raw and corrected MS2 quantitation component intensities for q:d, p:%

ERR_MSP_MS2QUANTITATION_QUERY_SECS 

[W] Cannot provide quantitation information because there is no ms-ms data in this file

ERR_MSP_CUSTQUANTITATION_FAILEDINIT 

[E] Failed to initialise ms_customquantitation: %s

ERR_MSP_CUSTQUANTITATION_PROTR_UNIM 

[W] Protein ratio type %s is not implemented; resetting to median

ERR_MSP_MS1QUANTITATION_HITREF_NEW 

[W] Protein hit reference has changed for protein [accession] from [oldhit.member] to [newhit.member]

ERR_MSP_MS1QUANTITATION_HITREF_DROP 

[W] Protein hit not found for protein [accession] at reference [oldhit.member]

ERR_MSP_MS1QUANTITATION_FAILEDINIT 

[E] Failed to initialise ms_ms1quantitation: %s

ERR_MSP_UMOD_FAILEDLOAD 

[W] Failed to load unimod.xml file.

ERR_MSP_UMOD_FAILEDSAVE 

[W] Failed to save unimod.xml file.

ERR_MSP_XMLSCHEMA_FAILEDLOAD 

[W] Failed to load xml schema file.

ERR_MSP_XMLSCHEMA_FAILEDSAVE 

[W] Failed to save xml schema file.

ERR_MSP_ZIP_ENDIAN 

[W] Failed to determine endian - assuming little endian.

ERR_MSP_ZIP_OUTOFMEMORY 

[F] Insufficient memory to compress/decompress the data.

ERR_MSP_ZIP_BUFTOOSMALL 

[F] Buffer too small - [value].

ERR_MSP_ZIP_INVALIDDATA 

[F] Compressed data is invalid.

ERR_MSP_ZIP_UNKNOWN 

[F] Unknown zip error

ERR_MSP_ZIP_LENGTHDIFFERS 

[F] Expected length of uncompressed data ([value]) differs from actual length [value].

ERR_MSP_ZIP_UNCOMPRESSEDDATATOOLONG 

[F] Uncompressed data longer ([value]) than maximum permitted ([value]).

ERR_MSP_ZIP_ZEROLENGTH 

[F] Cannot compress zero length data.

ERR_MSP_ZIP_VERSIONERROR 

[F] Invalid zlib version: [reason]

ERR_MSP_ZIP_NOTSTREAMING 

[F] Streaming mode not initalised

ERR_MSP_ZIP_STREAMERROR 

[F] Cannot compress: [reason]

ERR_MSP_INST_LOGICALPERPHYSICALCPU 

[I] Detected %d logical processors per physical CPU.

ERR_MSP_INST_INVALIDCPUINFO 

[W] Failed to get CPU information. Assuming single core and no hyper-threading.

ERR_MSP_INST_NUMTHREADS 

[I] Setting number of threads to [value].

ERR_MSP_INST_NOTMASCOTDATOK 

[I] Successfully loaded not.mascot.dat from [path].

ERR_MSP_INST_MASCOTDATOK 

[I] Successfully loaded existing mascot.dat from [path].

ERR_MSP_INST_APPENDTAXONOMY 

[I] Appended taxonomy section [value].

ERR_MSP_INST_ADDINGDATABASE 

[I] Adding entry for s to mascot.dat.

ERR_MSP_INST_MISSINGDATABASE 

[W] No entry for s found in not.mascot.dat.

ERR_MSP_INST_CHANGEDBTAXONOMY 

[I] Changed taxonomy entry for [database].

ERR_MSP_INST_APPENDPARSERULE 

[I] Added parse rule number [value].

ERR_MSP_INST_FAILADDPARSERULE 

[F] Failed to added parse rule required for SwissProt - too many rules already in mascot.dat?

ERR_MSP_INST_ADDOPTIONSSECTION 

[I} Added [value] to the options section of mascot.dat.

ERR_MSP_INST_SETOPTIONSSECTION 

[I] Set the value of [name] to [value] in the options section of mascot.dat.

ERR_MSP_INST_CLUSTERSECTION 

[I] Set the value of [name] to [value] in the cluster section of mascot.dat.

ERR_MSP_INST_CANTGETHOSTNAME 

[F] Failed to determine the hostname.

ERR_MSP_INST_NOSUBCLUSTERSET 

[I] No SubClusterSet entry in mascot.dat.

ERR_MSP_INST_CHANGEPARSERULE 

[I] Changed [value] parse rule from rule [value] to [value].

ERR_MSP_INST_SAVEDPOSTINSTALLFILE 

[I] Saved line ([text]) in Post Install File [name] for Database Manager

ERR_MSP_INST_FAILSAVEPOSTINSTALLFILE 

[I] Failed to save Post Install File [name]. Error [value]

ERR_MSP_HTTP_WEBAUTHERROR 

[F] Mascot login error: could not determine if web authentication is enabled.

ERR_MSP_HTTP_VERSIONERROR 

[F] Mascot version error: s.

ERR_MSP_HTTP_MISSINGLOGINERROR 

[F] Mascot server login.pl is not present.

ERR_MSP_HTTP_MISSINGLOGININFO 

[I] Mascot server login.pl is not present; security is disabled.

ERR_MSP_HTTP_LOGINPARSERERROR 

[F] Mascot server login.pl=[command] parser error: [code].

ERR_MSP_HTTP_LOGINPARSERERRORINT 

[F] Mascot server login.pl=[command(param)] parser error: [code].

ERR_MSP_HTTP_LOGINSERVERERROR 

[F] Mascot server login.pl=[command] server error.

ERR_MSP_HTTP_LOGINSERVERERRORINT 

[F] Mascot server login.pl=[command(param)] server error.

ERR_MSP_HTTP_LOGINERROR 

[F] Mascot server login.pl=[command] error: [code].

ERR_MSP_HTTP_LOGINERRORINT 

[F] Mascot server login.pl=[command(param)] error: [code].

ERR_MSP_HTTP_CHANGEPASSWORDDISABLED 

[F] Change password failed: security is disabled.

ERR_MSP_HTTP_OPENOUTPUTFILEFAILED 

[F] Failed to open file for writing: [code] 'text'.

ERR_MSP_HTTP_WRITEOUTPUTFILEFAILED 

[F] Failed to write to file: [code].

ERR_MSP_HTTP_RELOGINFAILED 

[F] Failed to relogin to the Mascot server: [code] '[text]'.

ERR_MSP_HTTP_SETPROXYFAILED 

[F] Failed to set HTTP proxy

ERR_MSP_HTTP_SETPROXYUSERNAMEFAILED 

[F] Failed to set HTTP proxy username

ERR_MSP_HTTP_SETPROXYPASSWORDFAILED 

[F] Failed to set HTTP proxy password

ERR_MSP_HTTP_SETHTTPUSERNAMEFAILED 

[F] Failed to set HTTP username

ERR_MSP_HTTP_SETHTTPPASSWORDFAILED 

[F] Failed to set HTTP password

ERR_MSP_HTTP_SETREDIRECTFAILED 

[F] Failed to set redirect policy

ERR_MSP_HTTP_URLSTRING 

[I] Sending HTTP [httpMethod] to [url] for action [command].

ERR_MSP_HTTP_NORESPONSE 

[F] Failed to receive HTTP response

ERR_MSP_HTTP_QUERYSTATUSRESULT 

[I] HTTP status is [httpCode] 'httpText'.

ERR_MSP_HTTP_QUERYSTATUSFAILED 

[F] Failed to query HTTP status

ERR_MSP_HTTP_OPENSESSIONFAILED 

[F] Failed to open HTTP session

ERR_MSP_HTTP_OPENCONNECTIONFAILED 

[F] Failed to open HTTP connection

ERR_MSP_HTTP_OPENREQUESTFAILED 

[F] Failed to open HTTP request

ERR_MSP_HTTP_CLOSESESSIONFAILED 

[F] Failed to close HTTP session [code] 'text'.

ERR_MSP_HTTP_CLOSECONNECTIONFAILED 

[F] Failed to close HTTP connection [code] 'text'.

ERR_MSP_HTTP_CLOSEREQUESTFAILED 

[F] Failed to close HTTP request [code] 'text'.

ERR_MSP_HTTP_ABORTEDBYUSER 

[F] HTTP request aborted by user.

ERR_MSP_HTTP_MAXCONECTIONSFAILED 

[I] Failed to set maximum connections per server

ERR_MSP_HTTP_MAXCONECTIONS10FAILED 

[I] Failed to set maximum connections per 1.0 server

ERR_MSP_HTTP_READRESPONSEFAILED 

[F] Failed to read HTTP response: [code] 'text'.

ERR_MSP_HTTP_SENDREQUESTFAILED 

[F] Failed to send HTTP request

ERR_MSP_HTTP_QUERYDATAFAILED 

[F] Failed to query data status

ERR_MSP_HTTP_READDATAFAILED 

[F] Failed to read data

ERR_MSP_HTTP_GETPROXYFAILED 

[F] Failed to get HTTP proxy

ERR_MSP_HTTP_BADHTTPSTATUS 

[F] HTTP status is [httpCode] 'httpText'.

ERR_MSP_HTTP_ERROR 

[F] 'httpText'.

ERR_MSP_HTTP_SESSIONALREADYOPEN 

[F] A session is already open.

ERR_MSP_HTTP_GETRETURNSTRING 

[I] The http GET returned '[text]'.

ERR_MSP_HTTP_GETRESULTSFILENAME 

[W] The http call client.pl?result_file_name&task_id=[taskID] returned [text]

ERR_MSP_CACHE_OPENFAILED 

[F] Failed to open cache file: [code] 'filename'.

ERR_MSP_CACHE_READFAILED 

[F] Failed to read cache file: [code] 'filename'.

ERR_MSP_CACHE_INVALIDFORMAT 

[F] File format no longer supported. 'filename'.

ERR_MSP_CACHE_SIGNATUREINVALID 

[F] Cache file signature is invalid. 'filename'.

ERR_MSP_CACHE_DATAOFFSETINVALID 

[F] Cache file meta data offset is invalid. 'filename'.

ERR_MSP_CACHE_FILESEEKFAILED 

[F] Failed to open cache file: [code] 'filename'.

ERR_MSP_CACHE_INVALIDVERSION 

[F] File version is invalid: [version] 'filename'.

ERR_MSP_CACHE_INVALIDSTREAMID 

[F] Stream ID is invalid: [id] 'filename'.

ERR_MSP_CACHE_INVALIDSTREAMPOSITION 

[F] Stream position is invalid: [position] 'filename'.

ERR_MSP_CACHE_DUPLICATESTREAMID 

[F] Duplicate stream id detected: 'filename'.

ERR_MSP_CACHE_WRITEFAILED 

[F] Failed to write cache file: [code] 'filename'.

ERR_MSP_CACHE_STREAMNOTFOUND 

[F] Failed to find stream in cache file: [streamID] 'filename'.

ERR_MSP_CACHE_WRITETRUNCATED 

[F] Write to cache file was truncated: 'filename'.

ERR_MSP_CACHE_MODIFYREADONLYMODE 

[F] Attempted to modify cache file opened for read-only mode: 'filename'.

ERR_MSP_CACHE_MODIFYCLOSED 

[F] Attempted to modify cache file while closed: 'filename'.

ERR_MSP_CACHE_UNINITIALISEDSTREAM 

[F] Attempted to access uninitialised stream.

ERR_MSP_CACHE_SLREF_UPDATE 

[W] Cache file for spectral library search was created by Parser 2.6.0, but the treatment of reference accessions changed in Parser 2.6.1. Re-creating the cache file.

ERR_MSP_HTTP_XMLUPLOADFAILED 

[F] Failed to upload XML data: 'text'.

ERR_MSP_NIST_MSP_INVALID_LINE 

[W] The msp file: 'filename' has an unexpected line: 'line'

ERR_MSP_NIST_MSP_MISSING_PARAMETER 

[W] Missing 'key' in msp file: 'filename'.

ERR_MSP_NIST_MSP_NO_SPECTRA 

[F] 'filename' doesn't appear to be an msp file: no lines starting with Name:

ERR_MSP_NIST_MSP_NO_CREATE_CDB 

[W] Cannot create index file: for msp file: because . Will continue without index

ERR_MSP_NIST_MSP_INCONSISTENT_MODS 

[W] The msp file: 'filename' has an inconsistent mods entry: [text]

ERR_MSP_NIST_FAILED_TO_LOAD_ENTRY 

[F] Failed to load entry number [text] from [file]. Error [text]

ERR_MSP_NIST_SAVE_ZERO_SPECTRA 

[W] Calling ms_spectral_lib_file::saveAs([file]), with start=[value] and end=[value], so file not saved

ERR_MSP_NIST_NO_PEAKS_IN_SPECTRUM 

[F] The msp file: '[file]' contains a spectrum with no peaks. First line is: '[text]'

ERR_MSP_NIST_CANNOT_ANNOTATE_PEAK 

[W] Ion series '[text]' is not valid in NIST format and cannot be used to annotate peaks

ERR_MSP_NIST_INDEX_OUT_OF_RANGE 

[F] Requesting an invalid spectrum number (d) in the msp file: 's' which has d entries

ERR_RESFILE_INVALID_DB_TYPE 

[W] Invalid database type 's'. Forcing to AA.

ERR_MSP_SL_SCORING_MODEL_FAIL 

[W] Failed to fit spectral library scoring model, so using a default threshold. Reason: s

ERR_MSP_SL_SCORING_MODEL_WARN 

[W] Spectral library threshold may not be optimal: s

enum msg_sev

Error severity levels.

See Using enumerated values in Perl, Java, Python and C#.

Enumerator:
sev_fatal 

A fatal error that results in the object being 'invalid'.

sev_warn 

A warning message.

sev_info 

Information message. Not available by default unless setLoggingLevel() called.

sev_debug1 

Debug level 1 message. Not available by default unless setLoggingLevel() called .

sev_debug2 

Debug level 2 message. Not available by default unless setLoggingLevel() called.

sev_debug3 

Debug level 3 message. Not available by default unless setLoggingLevel() called.


Member Function Documentation

void appendErrors ( const ms_errs src )

Copies all errors from another instance and appends them at the end of own list.

Mostly used internally, but can be useful for appending errors from one object into another object

Parameters:
srcis the error list to copy from.
void clearAllErrors (  )

Remove all errors from the current list of errors.

All errors, warnings, information and debug messages are accumulated into a list in this object, until this function is called.

See also:
getNumberOfErrors()
Examples:
tools_aahelper.cpp.
bool getCombineRepeats (  ) const

Get the flag for whether to merge repeated error messages.

The default is to combine repeated error messages.

Returns:
Will be true if identical error messages are combined into a single message.
int getErrorNumber ( const int  num = -1 ) const

Return a specific error number or ERR_NO_ERROR.

To return a particular error, warnings, information or debug messages from the list of messages, call this function with a number 1..getNumberOfErrors(). Passing a value of -1 will return the last error, or ERR_NO_ERROR.

Parameters:
numshould be a value in the range 1..getNumberOfErrors()
Returns:
the error number for item num in the list. If an invalid number is passed, ERR_NO_ERROR will be returned.
Examples:
common_error.cpp, and http_helper_getstring.cpp.
int getErrorRepeats ( const int  num = -1 ) const

Returns a number of times the specified error has been repeated.

Parameters:
numshould be a value in the range 1..getNumberOfErrors()
Returns:
The number of times the specified message was repeated or 0 if there are no messages in the list.
Examples:
common_error.cpp, and http_helper_getstring.cpp.
ms_errs::msg_sev getErrorSeverity ( const int  num = -1 ) const

Returns the severity of the specified error, warning, information or debug message.

Parameters:
numshould be a value in the range 1..getNumberOfErrors()
Returns:
The severity level. If an invalid number is passed, or if there are no messages or errors in the list then ms_errs::sev_warn is returned.
std::string getErrorString ( const int  num ) const

Returns a specific error as a string.

To return a particular error, warnings, information or debug messages from the list of messages, call this function with a number 1..getNumberOfErrors(). Passing a value of -1 will return the last error, or an empty string.

Parameters:
numshould be a value in the range 1..getNumberOfErrors() If an invalid number is passed, an empty string will be returned.
Returns:
The specified error, warning, information or debug message string
Examples:
common_error.cpp, and http_helper_getstring.cpp.
int getLastError (  ) const

Return the last error number or ERR_NO_ERROR if no errors.

This function returns the last error, warning, information or debug message from the list of messages in this object.

This function is implemented by calling: getErrorNumber(-1)

Returns:
the Error number for the last message in the list of messages
std::string getLastErrorString (  ) const

Return the last error number or an empty string.

This function returns the last error, warning, information or debug message from the list of messages in this object

Same as calling getErrorString() with -1 as a parameter.

Returns:
The most recent error, warning, information or debug message
Examples:
tools_aahelper.cpp.
std::string getLoggingFileName (  ) const

Return the name of the logging file.

Returns:
the name of the file where fatal errors, warning, informational and debugging messages are accumulated. If there is no log file, this string will be empty
ms_errs::msg_sev getLoggingLevel (  ) const

Get the logging level.

The default logging level is ms_errs::sev_warn, so any messages with ms_errs::sev_info, ms_errs::sev_debug1, ms_errs::sev_debug2 or ms_errs::sev_debug3 will not be logged.

The same level is applied to messages stored internally in the list and to to the messages being written to the file specified using setLoggingFile()..

Returns:
level is the current logging level.
int getNumberOfErrors (  ) const

Return the number of errors since the last call to clearAllErrors().

The list of 'errors' can include fatal errors, warning messages, information messages and different levels of debugging messages.

If the logging level has been set to, for example ms_errs::sev_debug3 using setLoggingLevel(), then this function may return a positive number greater than zero even if isValid() returns true.

All errors are accumulated into a list in this object, until clearAllErrors() is called.

See Error Handling.

See also:
clearAllErrors(), getErrorNumber() and getErrorString()
Returns:
the number of errors, warnings, or other messages in the list.
Examples:
common_error.cpp, and http_helper_getstring.cpp.
bool isValid (  ) const

Returns TRUE if no errors occurred, FALSE otherwise.

The list of 'errors' can include fatal errors, warning messages, information messages and different levels of debugging messages. This function will return true unless there are messages which have the severity level of ms_errs::sev_fatal

Returns:
true unless there have been and fatal error messages
Examples:
tools_aahelper.cpp.
void setCombineRepeats ( const bool  flag )

Set the flag for whether to merge repeated error messages.

The default is to combine repeated error messages

Parameters:
flagshould be set to true to enable identical error message to be combined into a single message.
void setLoggingFile ( const std::string  filename,
const msg_sev  level 
)

Set the logging file.

Parameters:
filenameshould be set to a valid filename, or an empty string to disable also saving to a log file.
levelis the logging level. See also getLoggingLevel() and setLoggingLevel(). The same level is applied to messages stored internally in the list and to to the messages being written to the specified filename.
void setLoggingLevel ( const msg_sev  level )

Set the logging level.

The default logging level is ms_errs::sev_warn, so any messages with ms_errs::sev_info, ms_errs::sev_debug1, ms_errs::sev_debug2 or ms_errs::sev_debug3 will not be logged.

See also getLoggingLevel()

Parameters:
levelis the logging level. The same level is applied to messages stored internally in the list and to to the messages being written to the file specified when calling setLoggingFile

The documentation for this class was generated from the following files:
Copyright © 2016 Matrix Science Ltd.  All Rights Reserved. Generated on Fri Jun 2 2017 01:44:52