44 #ifndef _INCLUDED_Field3D_Exception_H_ 45 #define _INCLUDED_Field3D_Exception_H_ 90 virtual const char*
what()
const throw()
107 #define DECLARE_FIELD3D_GENERIC_EXCEPTION(name, base_class) \ 108 class name : public base_class \ 111 explicit name(const std::string &what = "") throw() \ 156 #endif // Include guard #define FIELD3D_NAMESPACE_HEADER_CLOSE
virtual const char * what() const
Namespace for Exception objects.
std::string m_what
What string for the expection.
virtual ~Exception()
Destructor.
#define DECLARE_FIELD3D_GENERIC_EXCEPTION(name, base_class)
Used to declare a generic but named exception.
Exception(const std::string &what)
Construct from string.