38 case vtkCommand::ErrorEvent:
39 mErrorMessage =
static_cast<char *
>(calldata);
42 case vtkCommand::WarningEvent:
43 mWarningMessage =
static_cast<char *
>(calldata);
54 return mWarningMessage;
58 throw std::runtime_error(errMsg);
virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long event, void *calldata)
std::string GetWarningMessage()
std::string GetErrorMessage()
static ErrorObserver * New()
void reportError(std::string errMsg)