casacore
|
#include <MSSelectionErrorHandler.h>
Public Member Functions | |
MSSelectionErrorHandler () | |
The default constructor generates the message "Table error". More... | |
MSSelectionErrorHandler (const MSSelectionErrorHandler &that) | |
MSSelectionErrorHandler & | operator= (const MSSelectionErrorHandler &that) |
virtual MSSelectionErrorHandler * | clone () |
virtual | ~MSSelectionErrorHandler () |
virtual void | reportError (const char *token, const String source=String("")) |
virtual String | constructMessage () |
virtual void | reset () |
virtual void | handleError (MSSelectionError &) |
const std::vector< String > & | getMessages () const |
Int | nMessages () const |
Protected Attributes | |
std::vector< String > | tokenList |
std::vector< String > | messageList |
Public interface
The top-level generic MSSelection error handler class. The handleError() overloadable method takes the action of reporting the error. The handleError() method of this defualt handler constructs a message string and throws an exception of the type supplied. This operation has been factored out into this object to allow more control on the error handler mechanism from outside.
Definition at line 62 of file MSSelectionErrorHandler.h.
casacore::MSSelectionErrorHandler::MSSelectionErrorHandler | ( | ) |
The default constructor generates the message "Table error".
Referenced by clone().
casacore::MSSelectionErrorHandler::MSSelectionErrorHandler | ( | const MSSelectionErrorHandler & | that | ) |
|
virtual |
|
inlinevirtual |
Reimplemented in casacore::MSSelectionLogError.
Definition at line 70 of file MSSelectionErrorHandler.h.
References MSSelectionErrorHandler().
|
virtual |
Reimplemented in casacore::MSSSpwErrorHandler.
Referenced by casacore::MSSelectionLogError::handleError().
|
inline |
Definition at line 79 of file MSSelectionErrorHandler.h.
References messageList.
|
virtual |
Reimplemented in casacore::UDFMSCalErrorHandler, casacore::MSSelectionLogError, and casacore::MSSSpwErrorHandler.
|
inline |
Definition at line 81 of file MSSelectionErrorHandler.h.
References messageList.
MSSelectionErrorHandler& casacore::MSSelectionErrorHandler::operator= | ( | const MSSelectionErrorHandler & | that | ) |
|
virtual |
Reimplemented in casacore::UDFMSCalErrorHandler.
|
virtual |
|
protected |
Definition at line 85 of file MSSelectionErrorHandler.h.
Referenced by getMessages(), casacore::MSSelectionLogError::handleError(), and nMessages().
|
protected |
Definition at line 85 of file MSSelectionErrorHandler.h.