CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/RecoVertex/VertexPrimitives/interface/VertexException.h

Go to the documentation of this file.
00001 
00004 #ifndef Vertex_Exceptions_H
00005 #define Vertex_Exceptions_H
00006 
00007 #include <exception>
00008 #include <string>
00009 
00011 
00012 class VertexException : public std::exception {
00013 public:
00014   VertexException() throw() {}
00015   VertexException( const std::string& message) throw() : theMessage(message) {}
00016   virtual ~VertexException() throw() {}
00017   virtual const char* what() const throw() { return theMessage.c_str();}
00018 private:
00019   std::string theMessage;
00020 };
00021 
00022 #endif