FesaExceptionDef.h

Go to the documentation of this file.
00001 // Copyright CERN 2012 - Developed in collaboration with GSI
00002 
00003 #ifndef _FESA_EXCEPTION_DEFS_H_
00004 #define _FESA_EXCEPTION_DEFS_H_
00005 
00006 #include <string>
00007 
00008 // Mutex errors
00009 const std::string FesaErrorCreatingMutex = "FESA_1001";
00010 const std::string FesaErrorLockingMutex = "FESA_1002";
00011 const std::string FesaErrorUnLockingMutex = "FESA_1003";
00012 
00013 // conditional variable errors
00014 const std::string FesaErrorCreatingConditionalVariable = "FESA_1004";
00015 const std::string FesaErrorSignalingConditionalVariable = "FESA_1005";
00016 const std::string FesaErrorWaitingConditionalVariable = "FESA_1006";
00017 
00018 // thread errors
00019 const std::string FesaErrorCreatingThread = "FESA_1007";
00020 const std::string FesaErrorInitializingThreadAttributes = "FESA_1008";
00021 const std::string FesaErrorSettingThreadAttributes = "FESA_1009";
00022 const std::string FesaErrorSettingSchedulingPolicy = "FESA_1010";
00023 const std::string FesaErrorSettingInheritScheduling = "FESA_1011";
00024 const std::string FesaErrorDestroyingThreadAttributes = "FESA_1012";
00025 const std::string FesaErrorUndefinedPriority = "FESA_1013";
00026 const std::string FesaErrorReadProcessParameter = "FESA_1014";
00027 const std::string FesaErrorWriteProcessParameter = "FESA_1015";
00028 const std::string FesaErrorSettingPrioDuringRuntime = "FESA_1016";
00029 
00030 // Shared Mutex errors
00031 const std::string FesaErrorSettingSharedMutexAttribute = "FESA_1023";
00032 
00033 // Semaphore errors
00034 const std::string FesaErrorOpeningSemaphore = "FESA_1040";
00035 const std::string FesaErrorWaitingForSemaphore = "FESA_1041";
00036 const std::string FesaErrorTryWaitingForSemaphore = "FESA_1042";
00037 const std::string FesaErrorPostingSemaphore = "FESA_1043";
00038 const std::string FesaErrorGettingValueOfSemaphore = "FESA_1044";
00039 const std::string FesaErrorClosingSemaphore = "FESA_1045";
00040 const std::string FesaErrorUnlinkingSemaphore = "FESA_1046";
00041 const std::string FesaErrorTryTimedWaitingForSemaphore = "FESA_1047";
00042 
00043 // Mutex Errors
00044 const std::string FesaErrorInitializingMutex = "FESA_1050";
00045 const std::string FesaErrorInitializingMutexAttribute = "FESA_1051";
00046 const std::string FesaErrorDestroyingMutex = "FESA_1052";
00047 const std::string FesaErrorDestroyingMutexAttribute = "FESA_1053";
00048 const std::string FesaErrorSettingPrivateMutexAttribute = "FESA_1054";
00049 
00050 // RT controller errors
00051 const std::string FesaErrorLayerNameIsEmpty = "FESA_2001";
00052 const std::string FesaErrorRTDeviceClassNotFound = "FESA_2002";
00053 const std::string FesaErrorRTFactoryNotFound = "FESA_2003";
00054 const std::string FesaErrorLayerInfoNotFound = "FESA_2004";
00055 const std::string FesaErrorAbstractEventSourceNotCreated = "FESA_2005";
00056 const std::string FesaErrorRTActionNameNotFound = "FESA_2006";
00057 const std::string FesaErrorEventNotFound = "FESA_2007";
00058 const std::string FesaErrorConcreteEventNotFound = "FESA_2008";
00059 const std::string FesaErrorEventSourceAlreadyDefined = "FESA_2010";
00060 const std::string FesaErrorRTEquipmentNotCreated = "FESA_2011";
00061 const std::string FesaErrorNothingToDoForRTSide = "FESA_2012";
00062 const std::string FesaErrorNoDiagnosticLayerFound = "FESA_2013";
00063 const std::string FesaErrorSchedulingUnitNotFound = "FESA_2014";
00064 const std::string FesaErrorRTProcessDown = "FESA_2015";
00065 const std::string FesaErrorRTProcessAlreadyExists = "FESA_2016";
00066 
00067 // Message queue errors
00068 const std::string FesaErrorMsgSizeExceeded = "FESA_3001";
00069 const std::string FesaErrorQueueLengthExceeded = "FESA_3002";
00070 const std::string FesaErrorCreatingMsgQueue = "FESA_3003";
00071 const std::string FesaErrorCloseUnlinkMsgQueue = "FESA_3004";
00072 const std::string FesaErrorMsgQueueGeneric = "FESA_3005";
00073 const std::string FesaErrorQueuenameDuplication = "FESA_3011";
00074 const std::string FesaErrorUnknownMessageType = "FESA_3012";
00075 const std::string FesaErrorQueueFull = "FESA_3021";
00076 const std::string FesaErrorSystemQueueLengtExceeded = "FESA_3022";
00077 const std::string FesaErrorSystemMessageSizeExceeded = "FESA_3023";
00078 const std::string FesaErrorConfigurationMaxQueueLengthExceedsSystemLimit = "FESA_3024";
00079 
00080 // Miscellaneous Core errors
00081 const std::string FesaIDnotFound = "FESA_3050";
00082 const std::string FesaErrorGettingHostName = "FESA_3051";
00083 const std::string FesaErrorGetNotificationIDCollection = "FESA_3052";
00084 const std::string FesaErrorDataClassNotAsigned = "FESA_3053";
00085 const std::string FesaErrorDeviceClassNotFound = "FESA_3054";
00086 const std::string FesaErrorNoRequiredClass = "FESA_3055";
00087 const std::string FesaErrorNoPermissionToSendSignals = "FESA_3056";
00088 const std::string FesaErrorOnDemandEventProducerNotFound = "FESA_3057";
00089 
00090 // ConfigParameter Errors
00091 const std::string FesaErrorCFGFileNotFound = "FESA_3070";
00092 const std::string FesaErrorCFGParameterNotFound = "FESA_3071";
00093 const std::string FesaErrorCFGParameterIsNotNumeric = "FESA_3072";
00094 const std::string FesaErrorApplArgumentError = "FESA_3073";
00095 const std::string FesaErrorCFGUnknownParameterValue = "FESA_3074";
00096 const std::string FesaErrorCFGParameterIsNotBoolean = "FESA_3075";
00097 const std::string FesaErrorConfigurationNotInitialized = "FESA_3076";
00098 
00099 // RDADeviceServer errors
00100 const std::string FesaErrorPerformingGet = "FESA_3101";
00101 const std::string FesaErrorPerformingSet = "FESA_3102";
00102 const std::string FesaErrorGetNotificationThread = "FESA_3103";
00103 const std::string FesaErrorGettingRdaData = "FESA_3104";
00104 const std::string FesaErrorSettingRdaData = "FESA_3105";
00105 const std::string FesaErrorGettingRdaDeviceHandle = "FESA_3106";
00106 const std::string FesaErrorSettingRDAService = "FESA_3107";
00107 const std::string FesaErrorSubscribingProperty = "FESA_3108";
00108 const std::string FesaErrorDeviceServerNotReady = "FESA_3109";
00109 const std::string FesaErrorIRunningDeviceServer = "FESA_3110";
00110 const std::string FesaErrorInitializingRdaDeviceServerBase = "FESA_3111";
00111 
00112 // XMLParser errrors
00113 const std::string FesaErrorOpenXMLFile = "FESA_4001";
00114 const std::string FesaErrorCreateXPath = "FESA_4002";
00115 const std::string FesaErrorEvaluateXPath = "FESA_4003";
00116 const std::string FesaErrorXMLElementNotFound = "FESA_4004";
00117 const std::string FesaErrorXMLAttributeNotFound = "FESA_4005";
00118 const std::string FesaErrorCreatingXMLFile = "FESA_4006";
00119 const std::string FesaErrorWritingToXMLFile = "FESA_4007";
00120 const std::string FesaErrorXMLParserEncodingNotFound = "FESA_4008";
00121 const std::string FesaErrorXMLParserConvertingInput = "FESA_4009";
00122 
00123 // Fesa Parser errors
00124 const std::string FesaErrorTimingMappingNotConform = "FESA_4010";
00125 const std::string FesaErrorLoadGlobalDeviceElement = "FESA_4011";
00126 const std::string FesaErrorLoadDeviceElements = "FESA_4012";
00127 const std::string FesaErrorLoadDomainStoreElements = "FESA_4013";
00128 const std::string FesaErrorCreatingPersistentFile = "FESA_4014";
00129 const std::string FesaErrorStoreGlobalDeviceElement = "FESA_4015";
00130 const std::string FesaErrorStoreDeviceElements = "FESA_4016";
00131 const std::string FesaErrorStoreDomainStoreElements = "FESA_4017";
00132 const std::string FesaErrorLoadNotificationIDCollection = "FESA_4019";
00133 const std::string FesaNoDeviceInstanceFileFound = "FESA_4020";
00134 const std::string FesaErrorUnkonwEventSourceType = "FESA_4021";
00135 const std::string FesaErrorUnkonwDataToken = "FESA_4022";
00136 
00137 //ParserElements Errors
00138 const std::string FesaErrorFieldElementRetrievingCycleId = "FESA_4030";
00139 const std::string FesaErrorDataStoreElementRetrievingFieldElement = "FESA_4031";
00140 const std::string FesaErrorDataStoreElementRetrievingFieldValue = "FESA_4032";
00141 const std::string FesaErrorMissingBrackets = "FESA_4033";
00142 const std::string FesaErrorMalFormatedData = "FESA_4034";
00143 const std::string FesaErrorLogicalEventNotFound = "FESA_4035";
00144 const std::string FesaErrorParserElementNotInitialized = "FESA_4036";
00145 
00146 //Persistency Errors
00147 const std::string FesaErrorPersistFields = "FESA_4040";
00148 
00149 // synchronization errors
00150 const std::string FesaErrorVAcceleratorNotFound = "FESA_5001";
00151 const std::string FesaErrorVAcceleratorSlotValueNotCorrect = "FESA_5002";
00152 const std::string FesaErrorSlotDoesNotContainValidValue = "FESA_5003";
00153 const std::string FesaErrorRollingManagerRequiresCycleStamp = "FESA_5004";
00154 const std::string FesaErrorNoCycleIdSpecified = "FESA_5006";
00155 const std::string FesaErrorNotValidExtraCondition = "FESA_5007";
00156 const std::string FesaErrorCycleSelectorNameNotFound = "FESA_5008";
00157 const std::string FesaErrorCycleSelectorIDNotFound = "FESA_5009";
00158 const std::string FesaErrorMethodNotSupportedByMultiplexingManager = "FESA_5010";
00159 const std::string FesaErrorWrongTimingDomain = "FESA_5011";
00160 const std::string FesaErrorIllegalTiming = "FESA_5012";
00161 const std::string FesaErrorWrongContext = "FESA_5013";
00162 const std::string FesaErrorNoneContextforMuxedField = "FESA_5014";
00163 const std::string FesaErrorWrongSourceContextSettingField = "FESA_5015";
00164 const std::string FesaErrorNULLPointerToContext = "FESA_5016";
00165 const std::string FesaErrorCycleDescriptorNotFound = "FESA_5017";
00166 const std::string FesaErrorDublicateSelectionCriterion = "FESA_5018";
00167 const std::string FesaErrorWrongSourceContextAcquisitionField = "FESA_5019";
00168 
00169 // sorting errors
00170 const std::string FesaErrorInvalidExpression = "FESA_6001";
00171 
00172 // shared-memory errors
00173 const std::string FesaErrorCreatingSharedMemory = "FESA_7001";
00174 const std::string FesaErrorOpeningSharedMemory = "FESA_7002";
00175 const std::string FesaErrorResizingSharedMemory = "FESA_7003";
00176 const std::string FesaErrorMappingSharedMemory = "FESA_7004";
00177 const std::string FesaErrorUnMappingSharedMemory = "FESA_7005";
00178 const std::string FesaErrorRemovingSharedMemory = "FESA_7006";
00179 
00180 // server errors
00181 const std::string FesaErrorPropertyNotReadable = "FESA_8001";
00182 const std::string FesaErrorCycleNULLInMultiplexedProperty = "FESA_8002";
00183 const std::string FesaErrorPropertyNeedsFilter = "FESA_8003";
00184 const std::string FesaErrorPropertyNotSupportFilter = "FESA_8004";
00185 const std::string FesaErrorPropertyNotWritable = "FESA_8005";
00186 const std::string FesaErrorPropertyNotFound = "FESA_8006";
00187 const std::string FesaErrorServerClassNotFound = "FESA_8007";
00188 const std::string FesaErrorServerEquipmentNotCreated = "FESA_8008";
00189 const std::string FesaErrorMixedGlobalWithNoneGlobal = "FESA_8009";
00190 const std::string FesaErrorUserEventNotFound = "FESA_8010";
00191 const std::string FesaErrorCreatingOnDemandProducer = "FESA_8011";
00192 const std::string FesaErrorNoLastPlayedCycleAvailable = "FESA_8012";
00193 const std::string FesaErrorActionDisabledByFaultField = "FESA_8013";
00194 const std::string FesaErrorPropertySubscriptionDisabled = "FESA_8014";
00195 const std::string FesaErrorPropertyNotSubscribable = "FESA_8015";
00196 const std::string FesaErrorPropertyExecuteMethodIsNotImplemented = "FESA_8016";
00197 const std::string FesaErrorServerProcessAlreadyExists = "FESA_8017";
00198 
00199 // device factory errors
00200 const std::string FesaErrorDeviceFactoryGettingInstance = "FESA_9001";
00201 const std::string FesaErrorDeviceFactoryInitializing = "FESA_9002";
00202 const std::string FesaErrorCreatingDataStores = "FESA_9003";
00203 const std::string FesaErrorRestoringGlobalDevice = "FESA_9004";
00204 const std::string FesaErrorInitializingDevices = "FESA_9005";
00205 const std::string FesaErrorRestoringDevices = "FESA_9006";
00206 const std::string FesaErrorInitializingDomainStores = "FESA_9007";
00207 const std::string FesaErrorRestoringDomainStores = "FESA_9008";
00208 const std::string FesaErrorRegisteringPersistenceFields = "FESA_9009";
00209 const std::string FesaErrorInitializingGlobalDevice = "FESA_9010";
00210 const std::string FesaErrorDeviceFactoryInstantiationFileNotFound = "FESA_9011";
00211 const std::string FesaErrorDeviceFactoryCheckingDeviceCollectionSize = "FESA_9012";
00212 const std::string FesaErrorDeviceFactoryCheckingDomainStoreCollectionSize = "FESA_9013";
00213 
00214 // heap factory errors
00215 const std::string FesaErrorHeapFactoryComputingMemorySize = "FESA_9020";
00216 const std::string FesaErrorHeapFactoryMappingFields = "FESA_9021";
00217 const std::string FesaErrorAllocatingMemory = "FESA_9022";
00218 
00219 // shared memory factory errors
00220 const std::string FesaErrorShmFactorySettingUpMemory = "FESA_9030";
00221 const std::string FesaErrorShmFactoryComputingMemorySize = "FESA_9031";
00222 const std::string FesaErrorShmFactoryMappingFields = "FESA_9032";
00223 
00224 const std::string FesaErrorFillingDeviceCollection = "FESA_9040";
00225 const std::string FesaErrorDataStoreRegisteringFields = "FESA_9041";
00226 
00227 // Generic errors
00228 const std::string FesaErrorUnknownError = "FESA_10000";
00229 const std::string FesaErrorUnknownEquipmentClass = "FESA_10001";
00230 const std::string FesaErrorUnknownDevice = "FESA_10002";
00231 const std::string FesaErrorGlobalPropertyDeviceInstance = "FESA_10003";
00232 const std::string FesaErrorDevicePropertyGlobalDevice = "FESA_10004";
00233 const std::string FesaErrorNULLPointer = "FESA_10005";
00234 
00235 //StringUtilitieErrors
00236 const std::string FesaErrorEmptyDelimeter = "FESA_10100";
00237 
00238 // EventSource errors
00239 const std::string FesaErrorEventSourceExists = "FESA_11000";
00240 const std::string FesaErrorWrongEventSourceName = "FESA_11001";
00241 const std::string FesaErrorWrongTimerPeriod = "FESA_11002";
00242 const std::string FesaErrorEventSourceNotFound = "FESA_11003";
00243 const std::string FesaErrorUnknownCustomEventSource = "FESA_11004";
00244 
00245 //      property errors
00246 const std::string FesaErrorPropertyArrayDimensionOutOfBound = "FESA_12000";
00247 const std::string FesaErrorPropertyArray2DimensionsOutOfBound = "FESA_12001";
00248 
00249 // field errors
00250 const std::string FesaErrorFieldCheckExtraConditionSize = "FESA_13000";
00251 const std::string FesaErrorFieldMissingExtendedMultiplexingManager = "FESA_13001";
00252 const std::string FesaErrorRestoringField = "FESA_13002";
00253 const std::string FesaErrorStoringField = "FESA_13003";
00254 const std::string FesaErrorNoSetValueFound = "FESA_13006";
00255 const std::string FesaErrorWrongSettingDataType = "FESA_13007";
00256 const std::string FesaErrorPartialSettingNotAllowed = "FESA_13008";
00257 const std::string FesaErrorGetAsStringUsedInNonConstantField = "FESA_13009";
00258 const std::string FesaErrorSetDimensionsUsedInNonDynamicField = "FESA_13010";
00259 const std::string FesaErrorSettingFieldValueAddress = "FESA_13011";
00260 const std::string FesaErrorSpecializedConverterNotProvided = "FESA_13012";
00261 const std::string FesaErrorFieldAccessFromServer = "FESA_13013";
00262 const std::string FesaErrorFieldCurrentDimensionOutOfBound = "FESA_13014";
00263 const std::string FesaErrorFieldMaxDimensionOutOfBound = "FESA_13015";
00264 const std::string FesaErrorFieldCurrentDimensionsOutOfBound = "FESA_13016";
00265 const std::string FesaErrorFieldMaxDimensionsOutOfBound = "FESA_13017";
00266 const std::string FesaErrorWrongBooleanValue = "FESA_13018";
00267 const std::string FesaErrorValueExceedsLimits = "FESA_13019";
00268 
00269 // type definition errors
00270 const std::string FesaErrorCannotConvertItem = "FESA_14000";
00271 const std::string FesaErrorRDATypeMismatch = "FESA_14001";
00272 
00273 // RTEvent errors
00274 const std::string FesaErrorGettingPayload = "FESA_15000";
00275 const std::string FesaErrorDevColHasMultipleTimingDomains = "FESA_15001";
00276 const std::string FesaErrorInconsistentTimingDomain = "FESA_15002";
00277 
00278 // ServiceLocator errors
00279 const std::string FesaErrorServiceLocatorNotFound = "FESA_16000";
00280 const std::string FesaErrorServiceLocatorServiceNotAvailable = "FESA_16001";
00281 const std::string FesaErrorServiceLocatorWasNotCreated = "FESA_16002";
00282 const std::string FesaErrorServiceLocatorWasNotFound = "FESA_16003";
00283 
00284 #endif // _FESA_EXCEPTION_DEFS_H_

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1