CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWExpressionException.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWExpressionException_h
2 #define Fireworks_Core_FWExpressionException_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWExpressionException
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu Aug 21 14:22:22 EDT 2008
19 //
20 
21 // system include files
22 #include <string>
23 
24 // user include files
25 
26 // forward declarations
27 
29 public:
30  FWExpressionException(const std::string& iWhat, long iColumn) : m_what(iWhat), m_column(iColumn) {}
31  //virtual ~FWExpressionException();
32 
33  // ---------- const member functions ---------------------
34  const std::string& what() const { return m_what; }
35 
36  long column() const { return m_column; }
37  // ---------- static member functions --------------------
38 
39  // ---------- member functions ---------------------------
40 
41 private:
42  //FWExpressionException(const FWExpressionException&); // stop default
43 
44  //const FWExpressionException& operator=(const FWExpressionException&); // stop default
45 
46  // ---------- member data --------------------------------
48  long m_column;
49 };
50 
51 #endif
FWExpressionException(const std::string &iWhat, long iColumn)
const std::string & what() const