1
/*************************************************/
3
STK Error Handling Class
4
by Gary P. Scavone, 2000.
6
This is a fairly abstract exception handling
7
class. There could be sub-classes to take
8
care of more specific error conditions ... or not.
10
/*************************************************/
14
StkError :: StkError(const char *p, TYPE tipe)
17
strncpy(errormsg, p, 256);
20
StkError :: ~StkError()
24
void StkError :: printMessage()
26
printf("\n%s\n", errormsg);