00001 //Copyright GSI 2012 00002 #ifndef _FESA_GSI_EXCEPTION_DEFS_H_ 00003 #define _FESA_GSI_EXCEPTION_DEFS_H_ 00004 00005 #include <string> 00006 00007 const std::string FESAGSIErrorWrongCycleSelector = "FESA_GSI_0001"; 00008 const std::string FESAGSIErrorUnknownMuxContext = "FESA_GSI_0002"; 00009 00010 const std::string FESAGSIErrorInitializingTimLib = "FESA_GSI_1001"; 00011 const std::string FESAGSIErrorWrongTimingName = "FESA_GSI_1002"; 00012 const std::string FESAGSIErrorWhileConnectingTimingEvent = "FESA_GSI_1003"; 00013 const std::string FESAGSIErrorWhileGettingTimingObject = "FESA_GSI_1004"; 00014 const std::string FESAGSIErrorUnknownTimingObjectClassName = "FESA_GSI_1005"; 00015 00016 /***************** TIMING ERRORS SCU Specific***************************/ 00017 const std::string FESAGSIErrorWhileConnectingToSCUTiming ="FESA_GSI_1100"; 00018 const std::string FESAGSIErrorWhileReceivingInterrupt ="FESA_GSI_1101"; 00019 00020 /***************** TIMING ERRORS ***************************/ 00021 00022 const std::string FESAGSIErrorWrongRepetitionAttribute = "FESA_GSI_2001"; 00023 const std::string FESAGSIErrorWrongBasicPeriodLength = "FESA_GSI_2002"; 00024 const std::string FESAGSIErrorWrongShiftDelay = "FESA_GSI_2003"; 00025 const std::string FESAGSIErrorWrongBasicPeriod = "FESA_GSI_2004"; 00026 const std::string FESAGSIErrorWrongCycleID = "FESA_GSI_2005"; 00027 const std::string FESAGSIErrorWrongEventPeriod = "FESA_GSI_2006"; 00028 const std::string FESAGSIErrorWrongEventOcurrences = "FESA_GSI_2007"; 00029 00030 const std::string FESAGSIErrorNoneDomainEnabled = "FESA_GSI_2008"; 00031 const std::string FESAGSIErrorMoreThanOneDomainShift0 = "FESA_GSI_2009"; 00032 const std::string FESAGSIErrorEventDelayOutOfRange = "FESA_GSI_2010"; 00033 const std::string FESAGSIErrorGroupDescriptorFailedForMachine = "FESA_GSI_2011"; 00034 00035 const std::string FESAGSIErrorWrongLineName = "FESA_GSI_2012"; 00036 const std::string FESAGSIErrorTimingSelectorSeparatorNotFound = "FESA_GSI_2013"; 00037 const std::string FESAGSIErrorWrongMachineName = "FESA_GSI_2014"; 00038 const std::string FESAGSIErrorWrongCycleName = "FESA_GSI_2015"; 00039 const std::string FESAGSIErrorWrongTimingSelector = "FESA_GSI_2016"; 00040 const std::string FESAGSIErrorParsingTimingDescriptor = "FESA_GSI_2017"; 00041 00042 const std::string FesaGSIErrorWrongTimingDomain = "FESA_GSI_3001"; 00043 const std::string FesaGSIErrorTimingSelectorUndefined = "FESA_GSI_3002"; 00044 const std::string FesaGSIErrorIllegalTiming = "FESA_GSI_3003"; 00045 const std::string FesaGSIErrorImpossibleExtractTimingDomain = "FESA_GSI_3004"; 00046 const std::string FesaGSIErrorAccessingTimLib = "FESA_GSI_3005"; 00047 const std::string FesaGSIErrorWrongMachineName = "FESA_GSI_3006"; 00048 00049 const std::string FesaErrorTimingLibAccessFailed = "FESA_GSI_3007"; 00050 00051 /*************** COPY PL ERRORS *****************/ 00052 const std::string FesaGSIErrorEmptySourceForCopypl="FESA_GSI_4004"; 00053 00054 /*************** ALARM FIELD ********************/ 00055 const std::string FesaGSIErrorAlarmFieldEmptyKeyValues="FESA_GSI_5001"; 00056 const std::string FesaGSIErrorAlarmFieldKeyNameNotFound="FESA_GSI_5002"; 00057 const std::string FesaGSIErrorAlarmFieldKeyNameExceedsMaxSize="FESA_GSI_5003"; 00058 00059 /***************** TIMING Simulation Errors ***************************/ 00060 const std::string FesaGSITimingSimulationFileCorrupt = "FESA_GSI_6001"; 00061 const std::string FesaGSIUnusedEventSkipped = "FESA_GSI_6002"; 00062 const std::string FesaGSIMissingEventConfiguration = "FESA_GSI_6003"; 00063 00064 00065 #endif //_FESA_GSI_EXCEPTION_DEFS_H_