#include <exception.h>
Public Member Functions | |
| exception (const char *context, const char *message) throw () | |
| const char * | what () const throw () |
Private Attributes | |
| char | _message [SCALESTACK_MAX_MESSAGE_SIZE] |
This class allows exceptions to be thrown with custom error messages without the possibility of throwing any exceptions itself.
Definition at line 40 of file exception.h.
| scalestack::kernel::exception::exception | ( | const char * | context, | |
| const char * | message | |||
| ) | throw () |
This constructor formats the context and message into a static buffer.
| [in] | context | Context where the exception occurred. |
| [in] | message | Message describing the exception. |
Definition at line 35 of file exception.cc.
| const char * scalestack::kernel::exception::what | ( | ) | const throw () |
Get the exception message describing what happened.
Definition at line 40 of file exception.cc.
char scalestack::kernel::exception::_message[SCALESTACK_MAX_MESSAGE_SIZE] [private] |
Definition at line 62 of file exception.h.
1.6.3