23#ifndef _MIABSTRACTMETHODERROR_H
24#define _MIABSTRACTMETHODERROR_H
26#include <Inventor/STL/iostream>
27#include <Inventor/STL/sstream>
28#include <Inventor/STL/string>
47 std::stringstream errorStream;
48 errorStream <<
"method " << methodName <<
" is not implemented or not consistent!";
49 m_error = errorStream.str();
63 virtual const char*
what()
const throw ()
65 return m_error.c_str();
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Exception handler for Me...
std::string getError()
Returns the string containing the name of the method which is not overloaded.
virtual const char * what() const
Returns the c-string containing the name of the method which is not overloaded.
MiAbstractMethodError(std::string methodName)
Constructor.