OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
ParseError.h
Go to the documentation of this file.
1 #ifndef CLASSIC_ParseError_HH
2 #define CLASSIC_ParseError_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: ParseError.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: ParseError
13 //
14 // ------------------------------------------------------------------------
15 // Class category: Utilities
16 // ------------------------------------------------------------------------
17 //
18 // $Date: 2000/03/27 09:32:38 $
19 // $Author: fci $
20 //
21 // ------------------------------------------------------------------------
22 
24 
25 
26 // Class ParseError
27 // ------------------------------------------------------------------------
29 // This exception is thrown by the CLASSIC parser whein it detects an
30 // input format error.
31 
33 
34 public:
35 
37  // Arguments:
38  // [DL]
39  // [DT][b]meth[/b]
40  // [DD]the name of the method or function detecting the exception
41  // [DT][b]msg [/b]
42  // [DD]the message string identifying the exception
43  // [/DL]
44  // Construction/destruction.
45  ParseError(const std::string &meth, const std::string &msg);
46 
47  ParseError(const ParseError &);
48  virtual ~ParseError();
49 
50 private:
51 
52  // Not implemented.
54 };
55 
56 #endif // CLASSIC_ParseError_HH
The abstract base class for all exceptions in CLASSIC.
Parse exception.
Definition: ParseError.h:32
virtual ~ParseError()
Definition: ParseError.cpp:38