28 #ifndef MS_MSSELECTIONERRORHANDLER_H 29 #define MS_MSSELECTIONERRORHANDLER_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Logging/LogIO.h> 34 #include <casacore/casa/Exceptions/Error.h> 35 #include <casacore/ms/MSSel/MSSelectionError.h> 74 virtual void reportError(
const char *token,
const String source=
String(
""));
81 {
return messageList; }
83 {
return messageList.size(); }
104 if (messageList.size() > 0)
109 logIO << mssErrorType.
getMesg() << LogIO::WARN;
virtual ~MSSelectionLogError()
String constructMessage(const Int pos, const String &command)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Define real & complex conjugation for non-complex types and put comparisons into std namespace...
ostream-like interface to creating log messages.
const String & getMesg() const
virtual MSSelectionErrorHandler * clone()
const vector< String > & getMessages() const
virtual MSSelectionLogError * clone()
void addMessage(String &message)
String: the storage and methods of handling collections of characters.
vector< String > tokenList
this file contains all the compiler specific defines
virtual void handleError(MSSelectionError &mssErrorType)