MSSelectionError.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef MS_MSSELECTIONERROR_H
00029 #define MS_MSSELECTIONERROR_H
00030
00031
00032 #include <casacore/casa/aips.h>
00033 #include <casacore/casa/Exceptions/Error.h>
00034
00035
00036 namespace casacore {
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 class MSSelectionError : public AipsError {
00059 public:
00060
00061 MSSelectionError (Category c=GENERAL);
00062
00063 void changeMessage(String& message);
00064 void addMessage(String& message);
00065 void reset() {message="";}
00066 MSSelectionError (const String& message,Category c=GENERAL);
00067 ~MSSelectionError () throw();
00068 Bool hasMessage;
00069 };
00070
00071
00072
00073 class MSSelectionNullSelection : public MSSelectionError {
00074 public:
00075 MSSelectionNullSelection (const String& message, Category c=GENERAL);
00076 ~MSSelectionNullSelection () throw();
00077 };
00078
00079
00080
00081 class MSSelectionNullExpr : public MSSelectionError {
00082 public:
00083 MSSelectionNullExpr (const String& message, Category c=GENERAL);
00084 ~MSSelectionNullExpr () throw();
00085 };
00086
00087
00088
00089 class MSSelectionNullTEN : public MSSelectionError {
00090 public:
00091 MSSelectionNullTEN (const String& message, Category c=GENERAL);
00092 ~MSSelectionNullTEN () throw();
00093 };
00094
00095
00096
00097 class MSSelectionTimeError : public MSSelectionError {
00098 public:
00099
00100 MSSelectionTimeError (const String& message,Category c=GENERAL);
00101 ~MSSelectionTimeError () throw();
00102 };
00103
00104 class MSSelectionTimeParseError: public MSSelectionTimeError {
00105 public:
00106 MSSelectionTimeParseError (const String& message,Category c=GENERAL);
00107 ~MSSelectionTimeParseError () throw();
00108 };
00109
00110
00111
00112 class MSSelectionAntennaError : public MSSelectionError {
00113 public:
00114
00115 MSSelectionAntennaError (const String& message,Category c=GENERAL);
00116 ~MSSelectionAntennaError () throw();
00117 };
00118
00119
00120
00121
00122 class MSSelectionAntennaParseError: public MSSelectionAntennaError {
00123 public:
00124 MSSelectionAntennaParseError (const String& message,Category c=GENERAL);
00125 ~MSSelectionAntennaParseError () throw();
00126 };
00127
00128
00129
00130 class MSSelectionFieldError : public MSSelectionError {
00131 public:
00132
00133 MSSelectionFieldError (const String& message,Category c=GENERAL);
00134 ~MSSelectionFieldError () throw();
00135 };
00136
00137
00138
00139
00140 class MSSelectionFieldParseError: public MSSelectionFieldError {
00141 public:
00142 MSSelectionFieldParseError (const String& message,Category c=GENERAL);
00143 ~MSSelectionFieldParseError () throw();
00144 };
00145
00146
00147
00148 class MSSelectionFieldWarning: public MSSelectionFieldError {
00149 public:
00150 MSSelectionFieldWarning (const String& message,Category c=GENERAL);
00151 ~MSSelectionFieldWarning () throw();
00152 };
00153
00154
00155
00156 class MSSelectionUvDistError : public MSSelectionError {
00157 public:
00158
00159 MSSelectionUvDistError (const String& message,Category c=GENERAL);
00160 ~MSSelectionUvDistError () throw();
00161 };
00162
00163 class MSSelectionUvDistParseError: public MSSelectionUvDistError {
00164 public:
00165 MSSelectionUvDistParseError (const String& message,Category c=GENERAL);
00166 ~MSSelectionUvDistParseError () throw();
00167 };
00168
00169
00170
00171 class MSSelectionSpwError : public MSSelectionError {
00172 public:
00173
00174 MSSelectionSpwError (const String& message,Category c=GENERAL);
00175 ~MSSelectionSpwError () throw();
00176 };
00177
00178 class MSSelectionSpwParseError: public MSSelectionSpwError {
00179 public:
00180 MSSelectionSpwParseError (const String& message,Category c=GENERAL);
00181 ~MSSelectionSpwParseError () throw();
00182 };
00183
00184 class MSSelectionSpwWarning: public MSSelectionSpwError {
00185 public:
00186 MSSelectionSpwWarning (const String& message,Category c=GENERAL);
00187 ~MSSelectionSpwWarning () throw();
00188 };
00189
00190
00191
00192 class MSSelectionScanError : public MSSelectionError {
00193 public:
00194
00195 MSSelectionScanError (const String& message,Category c=GENERAL);
00196 ~MSSelectionScanError () throw();
00197 };
00198
00199 class MSSelectionScanParseError: public MSSelectionScanError {
00200 public:
00201 MSSelectionScanParseError (const String& message,Category c=GENERAL);
00202 ~MSSelectionScanParseError () throw();
00203 };
00204
00205 class MSSelectionScanWarning: public MSSelectionScanError {
00206 public:
00207 MSSelectionScanWarning (const String& message,Category c=GENERAL);
00208 ~MSSelectionScanWarning () throw();
00209 };
00210
00211
00212
00213 class MSSelectionArrayError : public MSSelectionError {
00214 public:
00215
00216 MSSelectionArrayError (const String& message,Category c=GENERAL);
00217 ~MSSelectionArrayError () throw();
00218 };
00219
00220 class MSSelectionArrayParseError: public MSSelectionArrayError {
00221 public:
00222 MSSelectionArrayParseError (const String& message,Category c=GENERAL);
00223 ~MSSelectionArrayParseError () throw();
00224 };
00225
00226 class MSSelectionArrayWarning: public MSSelectionArrayError {
00227 public:
00228 MSSelectionArrayWarning (const String& message,Category c=GENERAL);
00229 ~MSSelectionArrayWarning () throw();
00230 };
00231
00232
00233
00234 class MSSelectionPolnError : public MSSelectionError {
00235 public:
00236
00237 MSSelectionPolnError (const String& message,Category c=GENERAL);
00238 ~MSSelectionPolnError () throw();
00239 };
00240
00241 class MSSelectionPolnParseError: public MSSelectionPolnError {
00242 public:
00243 MSSelectionPolnParseError (const String& message,Category c=GENERAL);
00244 ~MSSelectionPolnParseError () throw();
00245 };
00246
00247 class MSSelectionPolnWarning: public MSSelectionPolnError {
00248 public:
00249 MSSelectionPolnWarning (const String& message,Category c=GENERAL);
00250 ~MSSelectionPolnWarning () throw();
00251 };
00252
00253
00254
00255
00256 class MSSelectionStateError : public MSSelectionError {
00257 public:
00258
00259 MSSelectionStateError (const String& message,Category c=GENERAL);
00260 ~MSSelectionStateError () throw();
00261 };
00262
00263 class MSSelectionStateParseError: public MSSelectionStateError {
00264 public:
00265 MSSelectionStateParseError (const String& message,Category c=GENERAL);
00266 ~MSSelectionStateParseError () throw();
00267 };
00268
00269 class MSSelectionStateWarning: public MSSelectionStateError {
00270 public:
00271 MSSelectionStateWarning (const String& message,Category c=GENERAL);
00272 ~MSSelectionStateWarning () throw();
00273 };
00274
00275
00276
00277 class MSSelectionObservationError : public MSSelectionError {
00278 public:
00279
00280 MSSelectionObservationError (const String& message,Category c=GENERAL);
00281 ~MSSelectionObservationError () throw();
00282 };
00283
00284 class MSSelectionObservationParseError: public MSSelectionObservationError {
00285 public:
00286 MSSelectionObservationParseError (const String& message,Category c=GENERAL);
00287 ~MSSelectionObservationParseError () throw();
00288 };
00289
00290 class MSSelectionObservationWarning: public MSSelectionObservationError {
00291 public:
00292 MSSelectionObservationWarning (const String& message,Category c=GENERAL);
00293 ~MSSelectionObservationWarning () throw();
00294 };
00295
00296
00297
00298 class MSSelectionFeedError : public MSSelectionError {
00299 public:
00300
00301 MSSelectionFeedError (const String& message,Category c=GENERAL);
00302 ~MSSelectionFeedError () throw();
00303 };
00304
00305 class MSSelectionFeedParseError: public MSSelectionFeedError {
00306 public:
00307 MSSelectionFeedParseError (const String& message,Category c=GENERAL);
00308 ~MSSelectionFeedParseError () throw();
00309 };
00310
00311
00312
00313
00314 String constructMessage(const Int pos, const String& command);
00315 }
00316
00317 #endif