|
Pd++
0.01
A pure C++ implementation of Pure Data objects
|
STK error handling class. More...
#include <Stk.h>
Public Member Functions | |
| StkError (const std::string &message, Type type=StkError::UNSPECIFIED) | |
| The constructor. | |
| virtual | ~StkError (void) |
| The destructor. | |
| virtual void | printMessage (void) |
| Prints thrown error message to stderr. | |
| virtual const Type & | getType (void) |
| Returns the thrown error message type. | |
| virtual const std::string & | getMessage (void) |
| Returns the thrown error message string. | |
| virtual const char * | getMessageCString (void) |
| Returns the thrown error message as a C string. | |
Protected Attributes | |
| std::string | message_ |
| Type | type_ |
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.
1.8.8