casacore
Loading...
Searching...
No Matches
MSSelectionError.h
Go to the documentation of this file.
1//# MSSelectionError.h: MSSelection error classes
2//# Copyright (C) 1994,1995,1996,1997,1999,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 MS_MSSELECTIONERROR_H
27#define MS_MSSELECTIONERROR_H
28
29//# Includes
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Exceptions/Error.h>
32
33
34namespace casacore { //# NAMESPACE CASACORE - BEGIN
35
36 //# This header file defines the error classes thrown by the
37 //# MSSelection and related classes.
38
39
40 // <summary>
41 // </summary>
42 // <use visibility=export>
43 // <reviewed reviewer="UNKNOWN" date="" tests="">
44 // </reviewed>
45
46 // <synopsis>
47 // The top-level generic MSSelection exception class. All
48 // exceptions thrown by the MSSelection and related classes are
49 // derived from this. Catching this class will catch only MSSelection
50 // exceptions (but all exceptions from the MSSelection line of
51 // classes). To catch more specific MSSelection exceptions, catch
52 // the derived classes. Note that you have to catch AipsError to
53 // catch all possible exceptions thrown by all of Casacore modules!
54 //</synopsis>
55
56 class MSSelectionError : public AipsError {
57 public:
58 // The default constructor generates the message "Table error".
60 // Construct with given message.
63 void reset() {message="";}
65 ~MSSelectionError () noexcept;
67 };
68 //
69 //-------------------------------------------------------------------
70 //
76 //
77 //-------------------------------------------------------------------
78 //
84 //
85 //-------------------------------------------------------------------
86 //
92 //
93 //-------------------------------------------------------------------
94 //
96 public:
97 // Add given message to string "MSSelection time error: ".
100 };
101
107 //
108 //-------------------------------------------------------------------
109 //
111 public:
112 // Add given message to string "MSSelection time error: ".
115 };
116 //
117 //-------------------------------------------------------------------
118 //
119
125 //
126 //-------------------------------------------------------------------
127 //
129 public:
130 // Add given message to string "MSSelection time error: ".
133 };
134
135 //
136 //-------------------------------------------------------------------
137 //
143 //
144 //-------------------------------------------------------------------
145 //
151 //
152 //-------------------------------------------------------------------
153 //
155 public:
156 // Add given message to string "MSSelection time error: ".
159 };
160
166 //
167 //-------------------------------------------------------------------
168 //
170 public:
171 // Add given message to string "MSSelection time error: ".
174 };
175
181
187 //
188 //-------------------------------------------------------------------
189 //
191 public:
192 // Add given message to string "MSSelection time error: ".
195 };
196
202
208 //
209 //-------------------------------------------------------------------
210 //
212 public:
213 // Add given message to string "MSSelection time error: ".
216 };
217
223
229 //
230 //-------------------------------------------------------------------
231 //
233 public:
234 // Add given message to string "MSSelection time error: ".
237 };
238
244
250
251 //
252 //-------------------------------------------------------------------
253 //
255 public:
256 // Add given message to string "MSSelection time error: ".
259 };
260
266
272 //
273 //-------------------------------------------------------------------
274 //
276 public:
277 // Add given message to string "MSSelection time error: ".
280 };
281
287
293 //
294 //-------------------------------------------------------------------
295 //
297 public:
298 // Add given message to string "MSSelection time error: ".
301 };
302
308
309 //
310 //-------------------------------------------------------------------
311 //
312 String constructMessage(const Int pos, const String& command);
313} //# NAMESPACE CASACORE - END
314
315#endif
MSSelectionAntennaError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionAntennaParseError(const String &message, Category c=GENERAL)
MSSelectionArrayError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionArrayParseError(const String &message, Category c=GENERAL)
MSSelectionArrayWarning(const String &message, Category c=GENERAL)
MSSelectionError(const String &message, Category c=GENERAL)
MSSelectionError(Category c=GENERAL)
The default constructor generates the message "Table error".
void addMessage(String &message)
void changeMessage(String &message)
Construct with given message.
MSSelectionFeedError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionFeedParseError(const String &message, Category c=GENERAL)
MSSelectionFieldError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionFieldParseError(const String &message, Category c=GENERAL)
MSSelectionFieldWarning(const String &message, Category c=GENERAL)
MSSelectionNullExpr(const String &message, Category c=GENERAL)
MSSelectionNullSelection(const String &message, Category c=GENERAL)
MSSelectionNullTEN(const String &message, Category c=GENERAL)
MSSelectionObservationError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionObservationParseError(const String &message, Category c=GENERAL)
MSSelectionObservationWarning(const String &message, Category c=GENERAL)
MSSelectionPolnError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionPolnParseError(const String &message, Category c=GENERAL)
MSSelectionPolnWarning(const String &message, Category c=GENERAL)
MSSelectionScanError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionScanParseError(const String &message, Category c=GENERAL)
MSSelectionScanWarning(const String &message, Category c=GENERAL)
MSSelectionSpwError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionSpwParseError(const String &message, Category c=GENERAL)
MSSelectionSpwWarning(const String &message, Category c=GENERAL)
MSSelectionStateError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionStateParseError(const String &message, Category c=GENERAL)
MSSelectionStateWarning(const String &message, Category c=GENERAL)
MSSelectionTimeError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionTimeParseError(const String &message, Category c=GENERAL)
MSSelectionUvDistError(const String &message, Category c=GENERAL)
Add given message to string "MSSelection time error: ".
MSSelectionUvDistParseError(const String &message, Category c=GENERAL)
String: the storage and methods of handling collections of characters.
Definition String.h:223
this file contains all the compiler specific defines
Definition mainpage.dox:28
String constructMessage(const Int pos, const String &command)
int Int
Definition aipstype.h:48
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40