casacore
Loading...
Searching...
No Matches
IterError.h
Go to the documentation of this file.
1//# IterError.h:
2//# Copyright (C) 1993,1994,1995,2000
3//# Associated Universities, Inc. Washington DC, USA.
4//#
5//# This library is free software; you can redistribute it and/or modify it
6//# under the terms of the GNU Library General Public License as published by
7//# the Free Software Foundation; either version 2 of the License, or (at your
8//# option) any later version.
9//#
10//# This library is distributed in the hope that it will be useful, but WITHOUT
11//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13//# License for more details.
14//#
15//# You should have received a copy of the GNU Library General Public License
16//# along with this library; if not, write to the Free Software Foundation,
17//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18//#
19//# Correspondence concerning AIPS++ should be addressed as follows:
20//# Internet email: casa-feedback@nrao.edu.
21//# Postal address: AIPS++ Project Office
22//# National Radio Astronomy Observatory
23//# 520 Edgemont Road
24//# Charlottesville, VA 22903-2475 USA
25
26#ifndef CASA_ITERERROR_H
27#define CASA_ITERERROR_H
28
29//# Includes
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Exceptions/Error.h>
32
33namespace casacore { //# NAMESPACE CASACORE - BEGIN
34
35// <summary>Iteration error class </summary>
36// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
37// </reviewed>
38
39class IterError : public AipsError {
40public:
41 IterError(const char *msg = 0, Category c=BOUNDARY); // normal constructor
42 ~IterError () noexcept;
43};
44
45// <summary>Iteration Boundary error class</summary>
46// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
47// </reviewed>
48
50public:
51 IterBoundaryError(const char *msg = 0, Category c=BOUNDARY); // normal constructor
52 ~IterBoundaryError () noexcept;
53};
54
55// <summary>Iteration initialization error</summary>
56// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
57// </reviewed>
58
59class IterInitError : public IterError {
60public:
61 IterInitError(const char *msg = 0, Category c=INITIALIZATION); // normal constructor
62 ~IterInitError () noexcept;
63};
64
65// <summary>Invalide iteration error class</summary>
66// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
67// </reviewed>
68
70public:
71 InvalidIterError(const char *msg = 0, Category c=GENERAL); // normal constructor
72 ~InvalidIterError () noexcept;
73};
74
75
76} //# NAMESPACE CASACORE - END
77
78#endif
Invalide iteration error class.
Definition IterError.h:69
InvalidIterError(const char *msg=0, Category c=GENERAL)
Iteration Boundary error class.
Definition IterError.h:49
IterBoundaryError(const char *msg=0, Category c=BOUNDARY)
IterError(const char *msg=0, Category c=BOUNDARY)
~IterError() noexcept
Iteration initialization error.
Definition IterError.h:59
IterInitError(const char *msg=0, Category c=INITIALIZATION)
this file contains all the compiler specific defines
Definition mainpage.dox:28