CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
30 public:
31  FWExpressionException(const std::string& iWhat, long iColumn) :
32  m_what(iWhat), m_column(iColumn) {
33  }
34  //virtual ~FWExpressionException();
35 
36  // ---------- const member functions ---------------------
37  const std::string& what() const {
38  return m_what;
39  }
40 
41  long column() const {
42  return m_column;
43  }
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47 
48 private:
49  //FWExpressionException(const FWExpressionException&); // stop default
50 
51  //const FWExpressionException& operator=(const FWExpressionException&); // stop default
52 
53  // ---------- member data --------------------------------
55  long m_column;
56 };
57 
58 
59 #endif
FWExpressionException(const std::string &iWhat, long iColumn)
const std::string & what() const