OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
FormatError.h
Go to the documentation of this file.
1#ifndef CLASSIC_FormatError_HH
2#define CLASSIC_FormatError_HH
3
4// ------------------------------------------------------------------------
5// $RCSfile: FormatError.h,v $
6// ------------------------------------------------------------------------
7// $Revision: 1.1.1.1 $
8// ------------------------------------------------------------------------
9// Copyright: see Copyright.readme
10// ------------------------------------------------------------------------
11//
12// Class: FormatError
13//
14// ------------------------------------------------------------------------
15// Class category: Utilities
16// ------------------------------------------------------------------------
17//
18// $Date: 2000/03/27 09:32:38 $
19// $Author: fci $
20//
21// ------------------------------------------------------------------------
22
24
25#include <string>
26
27// Class FormatError
28// ------------------------------------------------------------------------
30// This exception is thrown, when an input routine detects a format error.
31
33
34public:
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 FormatError(const std::string &meth, const std::string &msg);
45
46 FormatError(const FormatError &);
47 virtual ~FormatError();
48
49private:
50
51 // Not implemented.
53};
54
55#endif // CLASSIC_FormatError_HH
The abstract base class for all exceptions in CLASSIC.
Format error exception.
Definition: FormatError.h:32
virtual ~FormatError()
Definition: FormatError.cpp:39