AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ DramaTHROW_S

#define DramaTHROW_S (   status_,
  format_,
  ... 
)    drama::ExceptionThrowSafe(__func__, __FILE__,__LINE__,(status_), (format_), __VA_ARGS__)

Throw a Drama exception with safe string formatting.

A safe format string is specified, as are the required arguments.

Any arbitrary types can be formatted as long as an overload of the << operator is available for that type.

Parameters
status_A DRAMA Status code to associate with the message.
format_The format string. Each % character is to be replaced by the corresponding argument. Note - only the % is needed and used, don't do for example "%d". To output a %, use "%%".