Marsyas
0.6.0-alpha
|
STK error handling class. More...
#include <Stk.h>
Public Types | |
enum | TYPE { WARNING, DEBUG_WARNING, FUNCTION_ARGUMENT, FILE_NOT_FOUND, FILE_UNKNOWN_FORMAT, FILE_ERROR, PROCESS_THREAD, PROCESS_SOCKET, PROCESS_SOCKET_IPADDR, AUDIO_SYSTEM, MIDI_SYSTEM, UNSPECIFIED } |
Public Member Functions | |
virtual const char * | getMessage (void) const |
Returns the "thrown" error message string. | |
virtual const TYPE & | getType (void) |
Returns the "thrown" error message TYPE. | |
virtual void | printMessage (void) |
Prints "thrown" error message to stdout. | |
StkError (const char *p, TYPE tipe=StkError::UNSPECIFIED) | |
The constructor. | |
virtual | ~StkError (void) |
The destructor. |
STK error handling class.
This is a fairly abstract exception handling class. There could be sub-classes to take care of more specific error conditions ... or not.
enum TYPE |
StkError | ( | const char * | p, |
TYPE | tipe = StkError::UNSPECIFIED |
||
) |
virtual const char* getMessage | ( | void | ) | const [inline, virtual] |
void printMessage | ( | void | ) | [virtual] |