00001 /* 00002 * $Id: MessageStrings.h,v 1.24 2003/09/12 22:23:51 mindstorm2600 Exp $ 00003 * 00004 * Here we store references to some error and message strings, this way we are 00005 * sure that they're saved in the data segment of the binary 00006 * 00007 */ 00008 #ifndef _clawMessageStrings_H_ 00009 #define _clawMessageStrings_H_ 00010 00011 namespace clawsoft{ 00012 extern const char *strGenericException; 00013 extern const char *excepAOB; 00014 extern const char *excepNullPtr; 00015 extern const char *excepNumeric; 00016 extern const char *excepNoElem; 00017 extern const char *excepNoTokens; 00018 extern const char *excepGenMutex; 00019 extern const char *excepMutexNoLock; 00020 extern const char *excepMutexNoUnlock; 00021 extern const char *excepGenNet; 00022 extern const char *excepNetTimeout; 00023 extern const char *excepNetRefused; 00024 extern const char *excepNetUnreach; 00025 extern const char *excepGenIO; 00026 extern const char *excepBrokenPipe; 00027 extern const char *excepSockUsed; 00028 extern const char *excepSockListening; 00029 extern const char *excepNoFptrs; 00030 extern const char *excepSysNoFptrs; 00031 extern const char *excepSendFailed; 00032 extern const char *excepRecvFailed; 00033 extern const char *excepGenDSO; 00034 extern const char *excepNoLoadDSO; 00035 extern const char *excepNoUnloadDSO; 00036 extern const char *excepNoLoadSymbol; 00037 extern const char *excepDeadLock; 00038 extern const char *excepGenThread; 00039 extern const char *excepThreadNotRunning; 00040 extern const char *excepFileExists; 00041 extern const char *excepThisIsADirectory; 00042 extern const char *excepPermissionDenied; 00043 extern const char *excepFilenameTooLong; 00044 extern const char *excepFileOrDirectoryNotFound; 00045 extern const char *excepThisIsNotADirectory; 00046 extern const char *excepDeviceOrFIFONotFound; 00047 extern const char *excepDeviceNotFound; 00048 extern const char *excepUnableToWriteOnReadOnlyFile; 00049 extern const char *excepUnableToWriteOnRunningExecutableFile; 00050 extern const char *excepFilenameExceedsAddressSpace; 00051 extern const char *excepTooManySymlinks; 00052 extern const char *excepNotEnoughStorageSpace; 00053 extern const char *excepNotEnoughKernelMemory; 00054 extern const char *excepMaximumNumberOfOpenFilesForThisProcess; 00055 extern const char *excepMaximumNumberOfOpenFilesForThisSystem; 00056 extern const char *excepFile; 00057 extern const char *excepFileNotOpened; 00058 extern const char *excepUserIDDoesNotMatch; 00059 extern const char *excepSecurity; 00060 extern const char *excepFileTooBig; 00061 00062 00063 00064 extern const char *msgNothingLoaded; 00065 extern const char *msgThreadOverride; 00066 extern const char *msgDetachingThread; 00067 extern const char *excepInvalidParameter; 00068 extern const char *excepFeatureNotAvailableOnPipesOrSocket; 00069 00070 extern const char *constDEVNULL; 00071 extern const char *excepWriteWillBlock; 00072 extern const char *excepInterruptedSystemCall; 00073 extern const char *msgPleaseOverride; 00074 extern const char *excepMemory; 00075 extern const char *excepAllocationFailed; 00076 extern const char *excepReallocFailed; 00077 extern const char *excepMath; 00078 extern const char *excepBufferTooSmall; 00079 extern const char *excepGroup; 00080 extern const char *excepUser; 00081 extern const char *excepUserNotFound; 00082 extern const char *excepGroupNotFound; 00083 extern const char *excepConditionVarWaitTimedOut; 00084 extern const char *excepSemaphore; 00085 extern const char *excepSemaphoreInitValue; 00086 extern const char *excepSemaphoreUnableToDestroy; 00087 extern const char *excepSemaphoreUnableToDecrease; 00088 extern const char *excepSemaphoreUnableToIncrease; 00089 extern const char *constNOVENDOR; 00090 00091 extern const char *excepFileNotFound; 00092 00093 extern const char *excepDatabaseException; 00094 00095 extern const char *excepDBServerUnreachable; 00096 00097 extern const char *excepAlreadyConnected2DB; 00098 00099 extern const char *excepDBConnectFirst; 00100 00101 extern const char *excepUndefinedClass; 00102 00103 extern const char *excepString; 00104 00105 extern const char *excepParse; 00106 00107 extern const char *excepDateParse; 00108 00109 extern const char *excepTimeParse; 00110 00111 extern const char *excepBitParse; 00112 00113 extern const char *excepByteParse; 00114 00115 extern const char *excepNoDataFetch; 00116 00117 extern const char *excepNoMoreRows; 00118 00119 extern const char *excepDBConnectionFailed; 00120 }; 00121 00122 #endif
Authors:
Juan V. Guerrero
Jannette C. Mejia
Juan C. Guevara
Powered by: