#include <PhaseExceptions.h>
Public Member Functions | |
PhaseError (errorType _type, errorSeverity _severity, char *_caller, char *_description) | |
virtual | ~PhaseError () |
destructor | |
virtual void | printErr () |
prints our error | |
Public Attributes | |
errorType | type |
type of error. | |
errorSeverity | severity |
severity of error. | |
char * | caller |
string to hold caller name. Space allocated in constructor | |
char * | description |
string to hold error description. Space allocated in constructor. |
Generic phase exception
Definition at line 32 of file PhaseExceptions.h.
PhaseError::PhaseError | ( | errorType | _type, | |
errorSeverity | _severity, | |||
char * | _caller, | |||
char * | _description | |||
) |
Constructor
_type | error type. | |
_severity | error severity. | |
_caller | name of class::method throwing error | |
_description | description of error being thrown |