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 // $Id: FWExpressionException.h,v 1.3 2009/01/23 21:35:41 amraktad Exp $
20 //
21 
22 // system include files
23 #include <string>
24 
25 // user include files
26 
27 // forward declarations
28 
30 
31 public:
32  FWExpressionException(const std::string& iWhat, long iColumn) :
33  m_what(iWhat), m_column(iColumn) {
34  }
35  //virtual ~FWExpressionException();
36 
37  // ---------- const member functions ---------------------
38  const std::string& what() const {
39  return m_what;
40  }
41 
42  long column() const {
43  return m_column;
44  }
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48 
49 private:
50  //FWExpressionException(const FWExpressionException&); // stop default
51 
52  //const FWExpressionException& operator=(const FWExpressionException&); // stop default
53 
54  // ---------- member data --------------------------------
56  long m_column;
57 };
58 
59 
60 #endif
FWExpressionException(const std::string &iWhat, long iColumn)
const std::string & what() const