/* * ErrorAction.cpp * * Created on: Jan 5, 2010 * Author: crueger */ #include #include "Actions/ErrorAction.hpp" #include "log.hpp" #include "verbose.hpp" using namespace std; ErrorAction::ErrorAction(const char * _errorMsg) : errorMsg(_errorMsg) { } ErrorAction::~ErrorAction() { } void ErrorAction::call() { Log() << Verbose(0) << errorMsg << endl; } void ErrorAction::undo() { } bool ErrorAction::canUndo(){ return false; }