CMS 3D CMS Logo

EDMException.h

Go to the documentation of this file.
00001 #ifndef Utilities_EDMException_h
00002 #define Utilities_EDMException_h
00003 
00021 #include "FWCore/Utilities/interface/CodedException.h"
00022 
00023 #include <string>
00024 
00025 namespace edm {
00026   namespace errors {
00027 
00028     // If you add a new entry to the set of values, make sure to
00029     // update the translation map in EDMException.cc, the actions
00030     // table in FWCore/Framework/src/Actions.cc, and the configuration
00031     // fragment FWCore/Framework/test/cmsExceptionsFatalOption.cff.
00032 
00033     enum ErrorCodes {
00034        OtherCMS = 8001,
00035        StdException = 8002,
00036        Unknown = 8003,
00037        BadAlloc = 8004,
00038        BadExceptionType = 8005,
00039 
00040        ProductNotFound = 8006,
00041        DictionaryNotFound = 8007,
00042        InsertFailure = 8008,
00043        Configuration = 8009,
00044        LogicError = 8010,
00045        UnimplementedFeature = 8011,
00046        InvalidReference = 8012,
00047        NullPointerError = 8013,
00048        NoProductSpecified = 8014,
00049        EventTimeout = 8015,
00050        EventCorruption = 8016,
00051 
00052        ScheduleExecutionFailure = 8017,
00053        EventProcessorFailure = 8018,
00054 
00055        FileInPathError = 8019,
00056        FileOpenError = 8020,
00057        FileReadError = 8021,
00058        FatalRootError = 8022,
00059        MismatchedInputFiles = 8023,
00060 
00061        ProductDoesNotSupportViews = 8024,
00062        ProductDoesNotSupportPtr = 8025,
00063 
00064        NotFound = 8026
00065     };
00066 
00067   }
00068 
00069   typedef edm::CodedException<edm::errors::ErrorCodes> Exception;
00070 }
00071 
00072 #endif

Generated on Tue Jun 9 17:36:41 2009 for CMSSW by  doxygen 1.5.4