📄 errormessages.h
字号:
// file: $isip/class/system/Error/ErrorMessages.h// version: $Id: ErrorMessages.h,v 1.144 2003/05/07 15:36:55 parihar Exp $//// this file is for internal use only//#ifdef ISIP_INTERNAL_USE_ONLY// make sure definitions are only made once//#ifndef ISIP_ERROR_MESSAGES#define ISIP_ERROR_MESSAGES// isip include files//#ifndef ISIP_ERROR#include <Error.h>#endif// define the error code messages. this file also serves as the// complete registry to keep error codes unique across the entire ISIP// environment. in general, each library is assigned a range of 10000// error codes. within the library's range, each class is assigned// one or more blocks of 100 error codes.//// the first error code assigned to each class should be "xxx class// general error", so higher level codes can sensibly propagate// errors. the constant this->ERR should be set to this error code,// for instance SofList::ERR will point to "SofList class general// error"//static unichar Error_messages[][Error::ERROR_MESSAGE_SIZE] = { //-------------------------------------------- // // General purpose errors: range 0 - 999 // //-------------------------------------------- // file errors // L"00000000", L"No such file or directory", L"00000001", L"I/O Error", L"00000002", L"Permission denied", L"00000003", L"File seek error", L"00000004", L"Attempt to write to a closed file", L"00000005", L"Attempt to read from a closed file", L"00000006", L"File write error", L"00000007", L"File read error", L"00000008", L"Attempt to modify a read only file", L"00000011", L"Cannot lock a read only file", L"00000012", L"Cannot acquire file lock", L"00000013", L"Cannot unlock file", L"00000014", L"File already open", L"00000015", L"Error expanding filename", L"00000021", L"Undefined environmental variable", L"00000024", L"System call error", L"00000025", L"General diagnostic program failure", // coding errors // L"00000041", L"Error modifying internal data structure", L"00000045", L"This constructor should not be called", L"00000050", L"Error cleaning up in destructor", L"00000051", L"Unknown clear mode", L"00000052", L"Invalid argument", L"00000053", L"Error releasing resources", L"00000054", L"Memory corrupt", L"00000055", L"No memory available", L"00000056", L"Memory buffer overflow", L"00000057", L"Allocated a static class", L"00000058", L"Template function does not generalize to datatype", L"00000059", L"Enumeration value out of range", L"00000060", L"Illegal NULL pointer passed as argument to method", L"00000061", L"Internal stack exceeded", L"00000062", L"This cast overflows the target data type", L"00000065", L"Out of bounds", L"00000066", L"Feature not implemented yet", L"00000075", L"Object allocation mode is incompatible with method called", L"00000080", L"Virtual pointer not set", // utility errors // L"00000500", L"Parameter file not specified", L"00000501", L"No input files specified", //-------------------------------------------- // // Errors for the system library: range 1000 - 9999 // //-------------------------------------------- // File class errors // L"00001000", L"File class general error", L"00001001", L"Deleting File object without closing file", L"00001002", L"File is not open", L"00001003", L"Attempt to reopen a file", L"00001004", L"Could not close file", L"00001005", L"Could not flush file", L"00001006", L"Could not truncate file", L"00001007", L"Impossible wrap & indention settings, clearing", L"00001008", L"Cannot decode binary mode", // SysChar errors // L"00001100", L"SysChar class general error", L"00001101", L"Characters are not ascii", L"00001102", L"Multi-bit UTF8 character encountered, not yet supported", L"00001103", L"Multi-bit UTF16 character encountered, not yet supported", L"00001104", L"Unknown encoding", // MemoryManager errors // L"00001200", L"MemoryManager class general error", L"00001201", L"Attempt to delete non-allocated pointer", L"00001202", L"Memory not deleted", // SysString errors // L"00001300", L"SysString class general error", // Console errors // L"00001400", L"Console class general error", L"00001401", L"Too many open consoles", // Integral errors // L"00001500", L"Integral class general error", // Checksum errors // L"00001600", L"Checksum class general error", L"00001601", L"Polynomial specification is incorrect", // SysHeap errors // L"00001700", L"SysHeap class general error", L"00001701", L"Heap is empty", L"00001702", L"Attempt to extract pointer which is not on heap", // Error class errors // L"00001800", L"Error class general error", // Random class errors // L"00001900", L"Random class general error", //-------------------------------------------- // // Errors for the io library: range 10000 - 19999 // //-------------------------------------------- // Sof errors // L"00010000", L"Sof class general error", L"00010001", L"Not an Sof file", L"00010002", L"Object not found", L"00010003", L"Tag not found", L"00010011", L"Error updating Sof headers", L"00010012", L"Error updating Sof file structure", L"00010015", L"Error closing file", L"00010020", L"Out of object's range", L"00010021", L"No current position set", L"00010042", L"IEEE floating point standard not supported on architecture", L"00010043", L"Error reading Sof header", L"00010044", L"File type mismatch", L"00010045", L"Invalid data in Sof file structure", L"00010051", L"Error writing ASCII label to Sof file", L"00010061", L"Too many implicitly tagged objects in file", L"00010062", L"Attempt to use a reserved Sof tag", L"00010063", L"No implicitly numbered tags allowed in binary files", L"00010070", L"Attempting regular i/o in partial mode", L"00010071", L"Attempting a resize while not in partial mode", // SofList errors // L"00010100", L"SofList class general error", L"00010102", L"Symbol error", L"00010104", L"Copy Error", L"00010105", L"Delete Error", L"00010106", L"Could not add to index", L"00010107", L"Object already in index", L"00010108", L"Current node not set", // SofSymbolTable errors // L"00010200", L"SofSymbolTable class general error", L"00010201", L"Could not add to symbol table", L"00010202", L"Name not found in symbol table", L"00010203", L"Transform vector not defined", L"00010204", L"Symbol index out of range", // SofParser errors // L"00010300", L"SofParser class general error", L"00010301", L"Insufficient memory for parse", L"00010302", L"Attempt to parse empty object", L"00010303", L"Error parsing statement", L"00010304", L"Error parsing lvalue", L"00010305", L"Error parsing rvalue", L"00010306", L"Offset out of range", // NameMap errors // L"00010400", L"NameMap class general error", L"00010401", L"Integer out of range", L"00010402", L"Name not found", L"00010403", L"Checksum error", //-------------------------------------------- // // Errors for the math library: range 20000 - 29999 // //-------------------------------------------- // scalar errors // L"00020000", L"MScalar<> class general error", L"00020100", L"Boolean class general error", L"00020200", L"Byte class general error", L"00020300", L"Char class general error", L"00020400", L"Ushort class general error", L"00020500", L"Ulong class general error", L"00020600", L"Ullong class general error", L"00020700", L"Short class general error", L"00020800", L"Long class general error", L"00020900", L"Llong class general error", L"00021000", L"Float class general error", L"00021100", L"Double class general error", L"00021200", L"String class general error", L"00021300", L"ComplexFloat class general error", L"00021400", L"ComplexDouble class general error", L"00021500", L"ComplexLong class general error", L"00021600", L"MComplexScalar class general error", // vector errors // L"00022000", L"MVector<> class general error", L"00022001", L"invalid length for operation", L"00022100", L"VectorByte class general error", L"00022200", L"VectorUshort class general error", L"00022300", L"VectorUlong class general error", L"00022400", L"VectorUllong class general error", L"00022500", L"VectorShort class general error", L"00022600", L"VectorLong class general error", L"00022700", L"VectorLlong class general error", L"00022800", L"VectorFloat class general error", L"00022900", L"VectorDouble class general error", L"00023000", L"VectorComplexFloat class general error", L"00023100", L"VectorComplexDouble class general error", L"00023200", L"VectorComplexLong class general error", // matrix errors // L"00024000", L"MMatrix class general error", L"00024001", L"Invalid operation for matrix type", L"00024002", L"Invalid matrix dimension", L"00024003", L"Invalid type specified", L"00024004", L"Matrix is a singular matrix", L"00024005", L"Matrix is not a positive definite matrix", L"00024100", L"MatrixByte class general error", L"00024200", L"MatrixUshort class general error", L"00024300", L"MatrixUlong class general error", L"00024400", L"MatrixUllong class general error", L"00024500", L"MatrixShort class general error", L"00024600", L"MatrixLong class general error", L"00024700", L"MatrixLlong class general error", L"00024800", L"MatrixFloat class general error", L"00024900", L"MatrixDouble class general error", L"00025000", L"MatrixComplexFloat class general error", L"00025100", L"MatrixComplexDouble class general error", L"00025200", L"MatrixComplexLong class general error", //-------------------------------------------- // // Errors for the numeric library: range 35000 - 39999 // //-------------------------------------------- // Sigmoid errors // L"00035000", L"Sigmoid class general error", // LinearAlgebra errors // L"00035100", L"LinearAlgebra class general error", L"00035101", L"Singular or near-singular matrix - resorting to SVD solution", // NonlinearOptimization errors // L"00035200", L"NonlinearOptimization class general error", L"00035201", L"Error in Levenberg-Marquardt optimization", // Bark errors // L"00035300", L"Bark class general error", // Mel errors // L"00035400", L"Mel class general error", // Bessel errors // L"00035500", L"Bessel class general error", L"00035501", L"Unsupported Bessel function order", // Chebyshev errors // L"00035600", L"Chebyshev class general error", // Kernel errors // L"00035700", L"Kernel class general error", L"00035701", L"Error in kernel design parameters", L"00035702", L"Unknown kernel function specified", //-------------------------------------------- // // Errors for the dstr library: range 40000 - 44999 // //-------------------------------------------- // Node errors // L"00040000", L"Node class general error", L"00040001", L"Attempt to use a NULL object", // SingleLinkedNode errors // L"00040100", L"SingleLinkedNode class general error", // DoubleLinkedNode errors // L"00040200", L"DoubleLinkedNode class general error", // SingleLinkedList errors // L"00040300", L"SingleLinkedList class general error", // DoubleLinkedList errors // L"00040400", L"DoubleLinkedList class general error", // Stack errors // L"00040500", L"Stack class general error", L"00040501", L"Illegal operation attempted on empty stack", // Queue errors // L"00040600", L"Queue class general error", L"00040601", L"Illegal operation attempted on empty queue", // HashNode errors // L"00040700", L"HashNode class general error", // HashTable errors // L"00040800", L"HashTable class general error", // Vector errors // L"00040900", L"Vector class general error", L"00040901", L"Vector class write error", // GraphArc errors // L"00041000", L"GraphArc class general error", // GraphVertex errors // L"00041100", L"GraphVertex class general error", L"00041101", L"The item or the subgraph must be set prior to this operation", L"00041102", L"No parent graph is attached to this vertex", // Graph errors // L"00041200", L"Graph class general error", L"00041201", L"Arc creates an epsilon cycle in the graph", L"00041202", L"Attempt to add arc connecting to a vertex in another graph", // Tree errors // L"00041300", L"Tree class general error", // CircularBuffer errors // L"00041600", L"CircularBuffer class general error", L"00041601", L"Adding to a full buffer", // Pair errors // L"00041800", L"Pair class general error", // Triple errors //
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -