1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#ifndef Fireworks_Core_FWExpressionException_h
#define Fireworks_Core_FWExpressionException_h
// -*- C++ -*-
//
// Package: Core
// Class : FWExpressionException
//
/**\class FWExpressionException FWExpressionException.h Fireworks/Core/interface/FWExpressionException.h
Description: Holds information about an expression parsing failure
Usage:
<usage>
*/
//
// Original Author: Chris Jones
// Created: Thu Aug 21 14:22:22 EDT 2008
//
// system include files
#include <string>
// user include files
// forward declarations
class FWExpressionException {
public:
FWExpressionException(const std::string& iWhat, long iColumn) : m_what(iWhat), m_column(iColumn) {}
//virtual ~FWExpressionException();
// ---------- const member functions ---------------------
const std::string& what() const { return m_what; }
long column() const { return m_column; }
// ---------- static member functions --------------------
// ---------- member functions ---------------------------
private:
//FWExpressionException(const FWExpressionException&); // stop default
//const FWExpressionException& operator=(const FWExpressionException&); // stop default
// ---------- member data --------------------------------
std::string m_what;
long m_column;
};
#endif
|