00001
00002
00003
00004
00005
00006
00007 #ifndef EDM_EXCEPTION_H
00008 #define EDM_EXCEPTION_H
00009 #include <string>
00010
00011 namespace edm {
00013 class Exception {
00014 public:
00017 Exception(const char* f, int linenumber, int x) :
00018 fFile(f), fLine(linenumber), fId(x)
00019 { }
00020 public:
00021 std::string fFile;
00022 int fLine;
00023 int fId;
00024 };
00025
00026
00027
00029 enum {
00030 COLLECTION_NOT_FOUND,
00031 TYPE_MISMATCH,
00032 NO_FOLDER_FOUND
00033 };
00034 }
00035
00036 #endif
00037