My Project
OSErrorClass.h
Go to the documentation of this file.
1/* $Id$ */
15#ifndef ERRORCLASS_H
16#define ERRORCLASS_H
17
18#include <string>
19
32{
33public:
34
38 ErrorClass( std::string errormsg_);
39
42 std::string errormsg;
43
44};
45#endif
used for throwing exceptions.
ErrorClass(std::string errormsg_)
the class constructor
std::string errormsg
errormsg is the error that is causing the exception to be thrown