Library of Assembled Shared Sources
|
Exception thrown by enforcers. More...
#include <enforcer.h>
Related Symbols | |
(Note that these are not member symbols.) | |
#define | LASS_THROW_EX(t_exception, s_message) |
To throw an exception like util::Exception that accepts a message and a location string, you can supply those strings yourself, ore you can use this macro for your convenience. | |
Exception thrown by enforcers.
Definition at line 66 of file enforcer.h.
|
To throw an exception like util::Exception that accepts a message and a location string, you can supply those strings yourself, ore you can use this macro for your convenience.
This macro will fill in the location by itself so that you only have to worry about the message.
And as an extra, the message is streamed, so you can use the regular operator<<
to concatenate variables in the message.
Definition at line 202 of file basic_ops.h.