casa
$Rev:20696$
|
#include <MSSelectionErrorHandler.h>
Public Member Functions | |
MSSelectionErrorHandler () | |
The default constructor generates the message "Table error". | |
virtual | ~MSSelectionErrorHandler () |
virtual void | reportError (const char *token, const String source=String("")) |
virtual String | constructMessage () |
virtual void | reset () |
virtual void | handleError (MSSelectionError &) |
Protected Attributes | |
vector< String > | tokenList |
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 63 of file MSSelectionErrorHandler.h.
The default constructor generates the message "Table error".
virtual casa::MSSelectionErrorHandler::~MSSelectionErrorHandler | ( | ) | [virtual] |
virtual String casa::MSSelectionErrorHandler::constructMessage | ( | ) | [virtual] |
virtual void casa::MSSelectionErrorHandler::handleError | ( | MSSelectionError & | ) | [virtual] |
Reimplemented in casa::MSSelectionLogError.
virtual void casa::MSSelectionErrorHandler::reportError | ( | const char * | token, |
const String | source = String("") |
||
) | [virtual] |
virtual void casa::MSSelectionErrorHandler::reset | ( | ) | [virtual] |
vector<String> casa::MSSelectionErrorHandler::messageList [protected] |
Definition at line 76 of file MSSelectionErrorHandler.h.
vector<String> casa::MSSelectionErrorHandler::tokenList [protected] |
Definition at line 76 of file MSSelectionErrorHandler.h.