OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Utilities
SizeError.h
Go to the documentation of this file.
1
#ifndef CLASSIC_SizeError_HH
2
#define CLASSIC_SizeError_HH
3
4
// ------------------------------------------------------------------------
5
// $RCSfile: SizeError.h,v $
6
// ------------------------------------------------------------------------
7
// $Revision: 1.1.1.1 $
8
// ------------------------------------------------------------------------
9
// Copyright: see Copyright.readme
10
// ------------------------------------------------------------------------
11
//
12
// Class: SizeError
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/ArithmeticError.h
"
24
25
#include <string>
26
27
// Class SizeError
28
// ------------------------------------------------------------------------
30
// This exception is thrown, when a CLASSIC routine or method is called
31
// with arrays of inconsistent dimensions.
32
33
class
SizeError
:
public
ArithmeticError
{
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
// Construction/destruction.
46
SizeError
(
const
std::string &meth,
const
std::string &msg);
47
48
SizeError
(
const
SizeError
&);
49
virtual
~SizeError
();
50
51
private
:
52
53
// Not implemented.
54
SizeError
();
55
};
56
57
#endif // CLASSIC_SizeError_HH
ArithmeticError
The abstract base class for all CLASSIC arithmetic exceptions.
Definition:
ArithmeticError.h:33
ArithmeticError.h
SizeError::SizeError
SizeError()
SizeError::~SizeError
virtual ~SizeError()
Definition:
SizeError.cpp:38
SizeError
Size error exception.
Definition:
SizeError.h:33
Generated on Tue Jul 2 2024 15:05:23 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5