#include "stoc.h"
#include <SVS/svsclass.h>
Go to the source code of this file.
Defines |
#define | STOC_EXCEPT(except, msg) |
| Macro for throwing an exception with a message.
|
#define | STOC_EXCEPT_ARGS(except, msg,...) |
| Macro for throwing an exception with a message, passing args.
|
Define Documentation
Value:{ \
char buf[100]; \
snprintf(buf, 100, "[STOC::%s]: " msg, __FUNCTION__); \
throw except(buf); \
}
Macro for throwing an exception with a message.
Definition at line 39 of file stoc.cpp.
Value:{ \
char buf[100]; \
snprintf(buf, 100, "[STOC::%s]: " msg, __FUNCTION__, __VA_ARGS__); \
throw except(buf); \
}
Macro for throwing an exception with a message, passing args.
Definition at line 47 of file stoc.cpp.