MeVisLabToolboxReference
MeVisLab/Standard/Sources/ML/MLVesselGraph/mlTracedException.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00010 #include "mlVesselGraphSystem.h"
00011 
00012 #include <mlTypeDefs.h>
00013 
00014 #include "mlSystemWarningsDisable.h"
00015 #include <exception>
00016 #include <ostream>
00017 #include <vector>
00018 #include "mlSystemWarningsRestore.h"
00019 
00020 ML_START_NAMESPACE
00021 
00022 class VESSELGRAPH_EXPORT TracedException : public std::exception {
00023 public:
00024   TracedException(const std::string& msg);
00025   ~TracedException() throw() {}
00026   
00027   virtual const char* what() const throw();
00028   virtual const char* msg() const throw();
00029   
00030   const std::vector<const char*> traceStack;
00031   const std::vector<const char*> traceList;
00032 protected:
00033   const std::string _msg;
00034 };
00035 
00036 ML_END_NAMESPACE