CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/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