|
◆ ExceptionThrowSafe()
template<typename... Types>
Create and throw an exception, variable argument list, Safe formatting of arguments.
- Parameters
-
func | Name of the function where the exception was thrown |
file | Name of the file in which the exception was constructed. |
lineNum | Line number where the exception was constructed. |
status | A DRAMA Status code to be associated with the message if later converted to a DRAMA report. Set to DRAMA2__CPP_ERROR if not wanted. |
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 "%%". |
args | Arguments to the format. Any arbitrary types can be formatted as long as an overload of the << operator is available for that type. |
References CreateRunDramaTask().
|