Public Member Functions | Public Attributes | List of all members
ErrorClass Class Reference

used for throwing exceptions. More...

#include <OSErrorClass.h>

Collaboration diagram for ErrorClass:
Collaboration graph
[legend]

Public Member Functions

 ErrorClass (std::string errormsg_)
 the class constructor More...
 

Public Attributes

std::string errormsg
 errormsg is the error that is causing the exception to be thrown More...
 

Detailed Description

used for throwing exceptions.

Author
Robert Fourer, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
when an error is encountered in a try-catch block we throw an ErrorClass with the errormsg_

Definition at line 31 of file OSErrorClass.h.

Constructor & Destructor Documentation

ErrorClass::ErrorClass ( std::string  errormsg_)

the class constructor

Parameters
errormsg_holds the error message as a string.

Definition at line 20 of file OSErrorClass.cpp.

Member Data Documentation

std::string ErrorClass::errormsg

errormsg is the error that is causing the exception to be thrown

Definition at line 42 of file OSErrorClass.h.


The documentation for this class was generated from the following files: