OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Utilities
LogicalError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_LogicalError_HH
2
#define CLASSIC_LogicalError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: LogicalError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: LogicalError
13
//
14
// ------------------------------------------------------------------------
15
// Class category: Utilities
16
// ------------------------------------------------------------------------
17
//
18
// $Date: 2000/03/27 09:32:38 $
19
// $Author: fci $
20
//
21
// ------------------------------------------------------------------------
22
23
#include "
Utilities/ClassicException.h
"
24
25
#include <string>
26
27
// Class LogicalError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when CLASSIC detects an inconsistent call to
31
// a routine or method.
32
33
class
LogicalError
:
public
ClassicException
{
34
35
public
:
36
38
// Arguments:
39
// [DL]
40
// [DT][b]meth[/b]
41
// [DD]the name of the method or function detecting the exception
42
// [DT][b]msg [/b]
43
// [DD]the message string identifying the exception
44
// [/DL]
45
LogicalError
(
const
std::string &meth,
const
std::string &msg);
46
47
LogicalError
(
const
LogicalError
&);
48
virtual
~LogicalError
();
49
50
private
:
51
52
// Not implemented.
53
LogicalError
();
54
};
55
56
#endif // CLASSIC_LogicalError_HH
ClassicException
The abstract base class for all exceptions in CLASSIC.
Definition:
ClassicException.h:29
ClassicException.h
LogicalError::~LogicalError
virtual ~LogicalError()
Definition:
LogicalError.cpp:38
LogicalError::LogicalError
LogicalError()
LogicalError
Logical error exception.
Definition:
LogicalError.h:33
Generated on Tue Jul 2 2024 15:05:23 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5